home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / office german / PROPLUS.WW / PROPLSWW.CAB / MLA.XSL < prev    next >
Extensible Markup Language  |  2006-09-17  |  299KB  |  8,247 lines

  1. <?xml version="1.0" ?>
  2.  
  3.  
  4. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:b="http://schemas.openxmlformats.org/officeDocument/2006/bibliography" xmlns:t="http://www.microsoft.com/temp">
  5.     <xsl:output method="html" encoding="us-ascii"/>
  6.     
  7.     
  8.     
  9.     
  10.     <xsl:template match="*" mode="outputHtml2">
  11.             <xsl:apply-templates mode="outputHtml"/>        
  12.     </xsl:template>
  13.  
  14.     <xsl:template name="StringFormatDot">
  15.         <xsl:param name="format" />
  16.         <xsl:param name="parameters" />
  17.  
  18.     <xsl:variable name="prop_EndChars">
  19.       <xsl:call-template name="templ_prop_EndChars"/>
  20.     </xsl:variable>
  21.  
  22.     <xsl:choose>
  23.             <xsl:when test="$format = ''"></xsl:when>
  24.             <xsl:when test="substring($format, 1, 2) = '%%'">
  25.                 <xsl:text>%</xsl:text>
  26.                 <xsl:call-template name="StringFormatDot">
  27.                     <xsl:with-param name="format" select="substring($format, 3)" />
  28.                     <xsl:with-param name="parameters" select="$parameters" />
  29.                 </xsl:call-template>
  30.                 <xsl:if test="string-length($format)=2">
  31.                     <xsl:call-template name="templ_prop_Dot"/>
  32.                 </xsl:if>
  33.             </xsl:when>
  34.             <xsl:when test="substring($format, 1, 1) = '%'">
  35.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  36.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  37.                 <xsl:call-template name="StringFormatDot">
  38.                     <xsl:with-param name="format" select="substring($format, 3)" />
  39.                     <xsl:with-param name="parameters" select="$parameters" />
  40.                 </xsl:call-template>
  41.                 <xsl:if test="string-length($format)=2">
  42.                     <xsl:variable name="temp2">
  43.                         <xsl:call-template name="handleSpaces">
  44.                             <xsl:with-param name="field" select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]"/>
  45.                         </xsl:call-template>
  46.                     </xsl:variable>                
  47.                     <xsl:variable name="lastChar">
  48.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  49.                     </xsl:variable>
  50.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  51.                         <xsl:call-template name="templ_prop_Dot"/>
  52.                     </xsl:if>
  53.                 </xsl:if>
  54.             </xsl:when>
  55.             <xsl:otherwise>
  56.                 <xsl:value-of select="substring($format, 1, 1)" />
  57.                 <xsl:call-template name="StringFormatDot">
  58.                     <xsl:with-param name="format" select="substring($format, 2)" />
  59.                     <xsl:with-param name="parameters" select="$parameters" />
  60.                 </xsl:call-template>
  61.                 <xsl:if test="string-length($format)=1">
  62.                     <xsl:if test="not(contains($prop_EndChars, $format))">
  63.                         <xsl:call-template name="templ_prop_Dot"/>
  64.                     </xsl:if>
  65.                 </xsl:if>
  66.             </xsl:otherwise>
  67.         </xsl:choose>
  68.     </xsl:template>    
  69.  
  70.     <xsl:template name="StringFormat">
  71.         <xsl:param name="format" />
  72.         <xsl:param name="parameters" />
  73.         <xsl:choose>
  74.             <xsl:when test="$format = ''"></xsl:when>
  75.             <xsl:when test="substring($format, 1, 2) = '%%'">
  76.                 <xsl:text>%</xsl:text>
  77.                 <xsl:call-template name="StringFormat">
  78.                     <xsl:with-param name="format" select="substring($format, 3)" />
  79.                     <xsl:with-param name="parameters" select="$parameters" />
  80.                 </xsl:call-template>
  81.             </xsl:when>
  82.             <xsl:when test="substring($format, 1, 1) = '%'">
  83.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  84.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  85.                 <xsl:call-template name="StringFormat">
  86.                     <xsl:with-param name="format" select="substring($format, 3)" />
  87.                     <xsl:with-param name="parameters" select="$parameters" />
  88.                 </xsl:call-template>
  89.             </xsl:when>
  90.             <xsl:otherwise>
  91.                 <xsl:value-of select="substring($format, 1, 1)" />
  92.                 <xsl:call-template name="StringFormat">
  93.                     <xsl:with-param name="format" select="substring($format, 2)" />
  94.                     <xsl:with-param name="parameters" select="$parameters" />
  95.                 </xsl:call-template>
  96.             </xsl:otherwise>
  97.         </xsl:choose>
  98.     </xsl:template>
  99.     
  100.  
  101.  
  102.   
  103.   <xsl:template name="templ_prop_MLA_CitationLong_FML" >
  104.     <xsl:param name="LCID" />
  105.     <xsl:variable name="_LCID">
  106.       <xsl:call-template name="localLCID">
  107.         <xsl:with-param name="LCID" select="$LCID"/>
  108.       </xsl:call-template>
  109.     </xsl:variable>
  110.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FML"/>
  111.   </xsl:template>
  112.  
  113.   
  114.   <xsl:template name="templ_prop_MLA_CitationLong_FM" >
  115.     <xsl:param name="LCID" />
  116.     <xsl:variable name="_LCID">
  117.       <xsl:call-template name="localLCID">
  118.         <xsl:with-param name="LCID" select="$LCID"/>
  119.       </xsl:call-template>
  120.     </xsl:variable>
  121.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FM"/>
  122.   </xsl:template>
  123.  
  124.   
  125.   <xsl:template name="templ_prop_MLA_CitationLong_ML" >
  126.     <xsl:param name="LCID" />
  127.     <xsl:variable name="_LCID">
  128.       <xsl:call-template name="localLCID">
  129.         <xsl:with-param name="LCID" select="$LCID"/>
  130.       </xsl:call-template>
  131.     </xsl:variable>
  132.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:ML"/>
  133.   </xsl:template>
  134.  
  135.   
  136.   <xsl:template name="templ_prop_MLA_CitationLong_FL" >
  137.     <xsl:param name="LCID" />
  138.     <xsl:variable name="_LCID">
  139.       <xsl:call-template name="localLCID">
  140.         <xsl:with-param name="LCID" select="$LCID"/>
  141.       </xsl:call-template>
  142.     </xsl:variable>
  143.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FL"/>
  144.   </xsl:template>
  145.  
  146.   
  147.   <xsl:template name="templ_prop_MLA_CitationShort_FML" >
  148.     <xsl:param name="LCID" />
  149.     <xsl:variable name="_LCID">
  150.       <xsl:call-template name="localLCID">
  151.         <xsl:with-param name="LCID" select="$LCID"/>
  152.       </xsl:call-template>
  153.     </xsl:variable>
  154.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FML"/>
  155.   </xsl:template>
  156.  
  157.   
  158.   <xsl:template name="templ_prop_MLA_CitationShort_FM" >
  159.     <xsl:param name="LCID" />
  160.     <xsl:variable name="_LCID">
  161.       <xsl:call-template name="localLCID">
  162.         <xsl:with-param name="LCID" select="$LCID"/>
  163.       </xsl:call-template>
  164.     </xsl:variable>
  165.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FM"/>
  166.   </xsl:template>
  167.  
  168.   
  169.   <xsl:template name="templ_prop_MLA_CitationShort_ML" >
  170.     <xsl:param name="LCID" />
  171.     <xsl:variable name="_LCID">
  172.       <xsl:call-template name="localLCID">
  173.         <xsl:with-param name="LCID" select="$LCID"/>
  174.       </xsl:call-template>
  175.     </xsl:variable>
  176.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:ML"/>
  177.   </xsl:template>
  178.  
  179.   
  180.   <xsl:template name="templ_prop_MLA_CitationShort_FL" >
  181.     <xsl:param name="LCID" />
  182.     <xsl:variable name="_LCID">
  183.       <xsl:call-template name="localLCID">
  184.         <xsl:with-param name="LCID" select="$LCID"/>
  185.       </xsl:call-template>
  186.     </xsl:variable>
  187.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FL"/>
  188.   </xsl:template>
  189.  
  190.   
  191.   <xsl:template name="templ_prop_APA_CitationLong_FML" >
  192.     <xsl:param name="LCID" />
  193.     <xsl:variable name="_LCID">
  194.       <xsl:call-template name="localLCID">
  195.         <xsl:with-param name="LCID" select="$LCID"/>
  196.       </xsl:call-template>
  197.     </xsl:variable>
  198.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FML"/>
  199.   </xsl:template>
  200.  
  201.   
  202.   <xsl:template name="templ_prop_APA_CitationLong_FM" >
  203.     <xsl:param name="LCID" />
  204.     <xsl:variable name="_LCID">
  205.       <xsl:call-template name="localLCID">
  206.         <xsl:with-param name="LCID" select="$LCID"/>
  207.       </xsl:call-template>
  208.     </xsl:variable>
  209.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FM"/>
  210.   </xsl:template>
  211.  
  212.   
  213.   <xsl:template name="templ_prop_APA_CitationLong_ML" >
  214.     <xsl:param name="LCID" />
  215.     <xsl:variable name="_LCID">
  216.       <xsl:call-template name="localLCID">
  217.         <xsl:with-param name="LCID" select="$LCID"/>
  218.       </xsl:call-template>
  219.     </xsl:variable>
  220.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:ML"/>
  221.   </xsl:template>
  222.  
  223.   
  224.   <xsl:template name="templ_prop_APA_CitationLong_FL" >
  225.     <xsl:param name="LCID" />
  226.     <xsl:variable name="_LCID">
  227.       <xsl:call-template name="localLCID">
  228.         <xsl:with-param name="LCID" select="$LCID"/>
  229.       </xsl:call-template>
  230.     </xsl:variable>
  231.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FL"/>
  232.   </xsl:template>
  233.  
  234.   
  235.   <xsl:template name="templ_prop_APA_CitationShort_FML" >
  236.     <xsl:param name="LCID" />
  237.     <xsl:variable name="_LCID">
  238.       <xsl:call-template name="localLCID">
  239.         <xsl:with-param name="LCID" select="$LCID"/>
  240.       </xsl:call-template>
  241.     </xsl:variable>
  242.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FML"/>
  243.   </xsl:template>
  244.  
  245.   
  246.   <xsl:template name="templ_prop_APA_CitationShort_FM" >
  247.     <xsl:param name="LCID" />
  248.     <xsl:variable name="_LCID">
  249.       <xsl:call-template name="localLCID">
  250.         <xsl:with-param name="LCID" select="$LCID"/>
  251.       </xsl:call-template>
  252.     </xsl:variable>
  253.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FM"/>
  254.   </xsl:template>
  255.  
  256.   
  257.   <xsl:template name="templ_prop_APA_CitationShort_ML" >
  258.     <xsl:param name="LCID" />
  259.     <xsl:variable name="_LCID">
  260.       <xsl:call-template name="localLCID">
  261.         <xsl:with-param name="LCID" select="$LCID"/>
  262.       </xsl:call-template>
  263.     </xsl:variable>
  264.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:ML"/>
  265.   </xsl:template>
  266.  
  267.   
  268.   <xsl:template name="templ_prop_APA_CitationShort_FL" >
  269.     <xsl:param name="LCID" />
  270.     <xsl:variable name="_LCID">
  271.       <xsl:call-template name="localLCID">
  272.         <xsl:with-param name="LCID" select="$LCID"/>
  273.       </xsl:call-template>
  274.     </xsl:variable>
  275.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FL"/>
  276.   </xsl:template>
  277.  
  278.   
  279.   <xsl:template name="templ_prop_Chicago_CitationLong_FML" >
  280.     <xsl:param name="LCID" />
  281.     <xsl:variable name="_LCID">
  282.       <xsl:call-template name="localLCID">
  283.         <xsl:with-param name="LCID" select="$LCID"/>
  284.       </xsl:call-template>
  285.     </xsl:variable>
  286.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FML"/>
  287.   </xsl:template>
  288.  
  289.   
  290.   <xsl:template name="templ_prop_Chicago_CitationLong_FM" >
  291.     <xsl:param name="LCID" />
  292.     <xsl:variable name="_LCID">
  293.       <xsl:call-template name="localLCID">
  294.         <xsl:with-param name="LCID" select="$LCID"/>
  295.       </xsl:call-template>
  296.     </xsl:variable>
  297.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FM"/>
  298.   </xsl:template>
  299.  
  300.   
  301.   <xsl:template name="templ_prop_Chicago_CitationLong_ML" >
  302.     <xsl:param name="LCID" />
  303.     <xsl:variable name="_LCID">
  304.       <xsl:call-template name="localLCID">
  305.         <xsl:with-param name="LCID" select="$LCID"/>
  306.       </xsl:call-template>
  307.     </xsl:variable>
  308.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:ML"/>
  309.   </xsl:template>
  310.  
  311.   
  312.   <xsl:template name="templ_prop_Chicago_CitationLong_FL" >
  313.     <xsl:param name="LCID" />
  314.     <xsl:variable name="_LCID">
  315.       <xsl:call-template name="localLCID">
  316.         <xsl:with-param name="LCID" select="$LCID"/>
  317.       </xsl:call-template>
  318.     </xsl:variable>
  319.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FL"/>
  320.   </xsl:template>
  321.  
  322.   
  323.   <xsl:template name="templ_prop_Chicago_CitationShort_FML" >
  324.     <xsl:param name="LCID" />
  325.     <xsl:variable name="_LCID">
  326.       <xsl:call-template name="localLCID">
  327.         <xsl:with-param name="LCID" select="$LCID"/>
  328.       </xsl:call-template>
  329.     </xsl:variable>
  330.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FML"/>
  331.   </xsl:template>
  332.  
  333.   
  334.   <xsl:template name="templ_prop_Chicago_CitationShort_FM" >
  335.     <xsl:param name="LCID" />
  336.     <xsl:variable name="_LCID">
  337.       <xsl:call-template name="localLCID">
  338.         <xsl:with-param name="LCID" select="$LCID"/>
  339.       </xsl:call-template>
  340.     </xsl:variable>
  341.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FM"/>
  342.   </xsl:template>
  343.  
  344.   
  345.   <xsl:template name="templ_prop_Chicago_CitationShort_ML" >
  346.     <xsl:param name="LCID" />
  347.     <xsl:variable name="_LCID">
  348.       <xsl:call-template name="localLCID">
  349.         <xsl:with-param name="LCID" select="$LCID"/>
  350.       </xsl:call-template>
  351.     </xsl:variable>
  352.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:ML"/>
  353.   </xsl:template>
  354.  
  355.   
  356.   <xsl:template name="templ_prop_Chicago_CitationShort_FL" >
  357.     <xsl:param name="LCID" />
  358.     <xsl:variable name="_LCID">
  359.       <xsl:call-template name="localLCID">
  360.         <xsl:with-param name="LCID" select="$LCID"/>
  361.       </xsl:call-template>
  362.     </xsl:variable>
  363.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FL"/>
  364.   </xsl:template>
  365.  
  366.   
  367.   <xsl:template name="templ_prop_Gost_CitationLong_FML" >
  368.     <xsl:param name="LCID" />
  369.     <xsl:variable name="_LCID">
  370.       <xsl:call-template name="localLCID">
  371.         <xsl:with-param name="LCID" select="$LCID"/>
  372.       </xsl:call-template>
  373.     </xsl:variable>
  374.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FML"/>
  375.   </xsl:template>
  376.  
  377.   
  378.   <xsl:template name="templ_prop_Gost_CitationLong_FM" >
  379.     <xsl:param name="LCID" />
  380.     <xsl:variable name="_LCID">
  381.       <xsl:call-template name="localLCID">
  382.         <xsl:with-param name="LCID" select="$LCID"/>
  383.       </xsl:call-template>
  384.     </xsl:variable>
  385.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FM"/>
  386.   </xsl:template>
  387.  
  388.   
  389.   <xsl:template name="templ_prop_Gost_CitationLong_ML" >
  390.     <xsl:param name="LCID" />
  391.     <xsl:variable name="_LCID">
  392.       <xsl:call-template name="localLCID">
  393.         <xsl:with-param name="LCID" select="$LCID"/>
  394.       </xsl:call-template>
  395.     </xsl:variable>
  396.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:ML"/>
  397.   </xsl:template>
  398.  
  399.   
  400.   <xsl:template name="templ_prop_Gost_CitationLong_FL" >
  401.     <xsl:param name="LCID" />
  402.     <xsl:variable name="_LCID">
  403.       <xsl:call-template name="localLCID">
  404.         <xsl:with-param name="LCID" select="$LCID"/>
  405.       </xsl:call-template>
  406.     </xsl:variable>
  407.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FL"/>
  408.   </xsl:template>
  409.  
  410.   
  411.   <xsl:template name="templ_prop_Gost_CitationShort_FML" >
  412.     <xsl:param name="LCID" />
  413.     <xsl:variable name="_LCID">
  414.       <xsl:call-template name="localLCID">
  415.         <xsl:with-param name="LCID" select="$LCID"/>
  416.       </xsl:call-template>
  417.     </xsl:variable>
  418.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FML"/>
  419.   </xsl:template>
  420.  
  421.   
  422.   <xsl:template name="templ_prop_Gost_CitationShort_FM" >
  423.     <xsl:param name="LCID" />
  424.     <xsl:variable name="_LCID">
  425.       <xsl:call-template name="localLCID">
  426.         <xsl:with-param name="LCID" select="$LCID"/>
  427.       </xsl:call-template>
  428.     </xsl:variable>
  429.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FM"/>
  430.   </xsl:template>
  431.  
  432.   
  433.   <xsl:template name="templ_prop_Gost_CitationShort_ML" >
  434.     <xsl:param name="LCID" />
  435.     <xsl:variable name="_LCID">
  436.       <xsl:call-template name="localLCID">
  437.         <xsl:with-param name="LCID" select="$LCID"/>
  438.       </xsl:call-template>
  439.     </xsl:variable>
  440.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:ML"/>
  441.   </xsl:template>
  442.  
  443.   
  444.   <xsl:template name="templ_prop_Gost_CitationShort_FL" >
  445.     <xsl:param name="LCID" />
  446.     <xsl:variable name="_LCID">
  447.       <xsl:call-template name="localLCID">
  448.         <xsl:with-param name="LCID" select="$LCID"/>
  449.       </xsl:call-template>
  450.     </xsl:variable>
  451.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FL"/>
  452.   </xsl:template>
  453.  
  454.   
  455.   <xsl:template name="templ_prop_ISO690_CitationLong_FML" >
  456.     <xsl:param name="LCID" />
  457.     <xsl:variable name="_LCID">
  458.       <xsl:call-template name="localLCID">
  459.         <xsl:with-param name="LCID" select="$LCID"/>
  460.       </xsl:call-template>
  461.     </xsl:variable>
  462.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FML"/>
  463.   </xsl:template>
  464.  
  465.   
  466.   <xsl:template name="templ_prop_ISO690_CitationLong_FM" >
  467.     <xsl:param name="LCID" />
  468.     <xsl:variable name="_LCID">
  469.       <xsl:call-template name="localLCID">
  470.         <xsl:with-param name="LCID" select="$LCID"/>
  471.       </xsl:call-template>
  472.     </xsl:variable>
  473.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FM"/>
  474.   </xsl:template>
  475.  
  476.   
  477.   <xsl:template name="templ_prop_ISO690_CitationLong_ML" >
  478.     <xsl:param name="LCID" />
  479.     <xsl:variable name="_LCID">
  480.       <xsl:call-template name="localLCID">
  481.         <xsl:with-param name="LCID" select="$LCID"/>
  482.       </xsl:call-template>
  483.     </xsl:variable>
  484.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:ML"/>
  485.   </xsl:template>
  486.  
  487.   
  488.   <xsl:template name="templ_prop_ISO690_CitationLong_FL" >
  489.     <xsl:param name="LCID" />
  490.     <xsl:variable name="_LCID">
  491.       <xsl:call-template name="localLCID">
  492.         <xsl:with-param name="LCID" select="$LCID"/>
  493.       </xsl:call-template>
  494.     </xsl:variable>
  495.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FL"/>
  496.   </xsl:template>
  497.  
  498.   
  499.   <xsl:template name="templ_prop_ISO690_CitationShort_FML" >
  500.     <xsl:param name="LCID" />
  501.     <xsl:variable name="_LCID">
  502.       <xsl:call-template name="localLCID">
  503.         <xsl:with-param name="LCID" select="$LCID"/>
  504.       </xsl:call-template>
  505.     </xsl:variable>
  506.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FML"/>
  507.   </xsl:template>
  508.  
  509.   
  510.   <xsl:template name="templ_prop_ISO690_CitationShort_FM" >
  511.     <xsl:param name="LCID" />
  512.     <xsl:variable name="_LCID">
  513.       <xsl:call-template name="localLCID">
  514.         <xsl:with-param name="LCID" select="$LCID"/>
  515.       </xsl:call-template>
  516.     </xsl:variable>
  517.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FM"/>
  518.   </xsl:template>
  519.  
  520.   
  521.   <xsl:template name="templ_prop_ISO690_CitationShort_ML" >
  522.     <xsl:param name="LCID" />
  523.     <xsl:variable name="_LCID">
  524.       <xsl:call-template name="localLCID">
  525.         <xsl:with-param name="LCID" select="$LCID"/>
  526.       </xsl:call-template>
  527.     </xsl:variable>
  528.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:ML"/>
  529.   </xsl:template>
  530.  
  531.   
  532.   <xsl:template name="templ_prop_ISO690_CitationShort_FL" >
  533.     <xsl:param name="LCID" />
  534.     <xsl:variable name="_LCID">
  535.       <xsl:call-template name="localLCID">
  536.         <xsl:with-param name="LCID" select="$LCID"/>
  537.       </xsl:call-template>
  538.     </xsl:variable>
  539.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FL"/>
  540.   </xsl:template>
  541.  
  542.  
  543.   <xsl:template name="localLCID">
  544.     <xsl:param name="LCID"/>
  545.  
  546.     <xsl:variable name="_LCID1">
  547.       <xsl:choose>
  548.         <xsl:when test="$LCID!='0' and $LCID!=''">
  549.           <xsl:value-of select="$LCID"/>
  550.         </xsl:when>
  551.         <xsl:when test="/b:Citation">
  552.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  553.         </xsl:when>
  554.         <xsl:when test="b:LCID">
  555.           <xsl:value-of select="b:LCID"/>
  556.         </xsl:when>
  557.         <xsl:when test="../b:LCID">
  558.           <xsl:value-of select="../b:LCID"/>
  559.         </xsl:when>
  560.         <xsl:when test="../../b:LCID">
  561.           <xsl:value-of select="../../b:LCID"/>
  562.         </xsl:when>
  563.         <xsl:when test="../../../b:LCID">
  564.           <xsl:value-of select="../../../b:LCID"/>
  565.         </xsl:when>
  566.         <xsl:when test="../../../../b:LCID">
  567.           <xsl:value-of select="../../../../b:LCID"/>
  568.         </xsl:when>
  569.         <xsl:when test="../../../../b:LCID">
  570.           <xsl:value-of select="../../../../b:LCID"/>
  571.         </xsl:when>
  572.         <xsl:when test="../../../../../b:LCID">
  573.           <xsl:value-of select="../../../../../b:LCID"/>
  574.         </xsl:when>
  575.         <xsl:otherwise>
  576.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  577.         </xsl:otherwise>
  578.       </xsl:choose>
  579.     </xsl:variable>
  580.  
  581.     <xsl:choose>
  582.       <xsl:when test="$_LCID1!='0' and string-length($_LCID1)>0">
  583.         <xsl:value-of select="$_LCID1"/>
  584.       </xsl:when>
  585.       <xsl:otherwise>
  586.         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  587.       </xsl:otherwise>
  588.     </xsl:choose>
  589.  
  590.   </xsl:template>
  591.  
  592.   
  593.   <xsl:template name="templ_str_ChapterInUnCap" >
  594.     <xsl:param name="LCID" />
  595.     <xsl:variable name="_LCID">
  596.       <xsl:call-template name="localLCID">
  597.         <xsl:with-param name="LCID" select="$LCID"/>
  598.       </xsl:call-template>
  599.     </xsl:variable>
  600.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterInUnCap"/>
  601.   </xsl:template>
  602.  
  603.   
  604.   <xsl:template name="templ_str_ChapterUnCap" >
  605.     <xsl:param name="LCID" />
  606.     <xsl:variable name="_LCID">
  607.       <xsl:call-template name="localLCID">
  608.         <xsl:with-param name="LCID" select="$LCID"/>
  609.       </xsl:call-template>
  610.     </xsl:variable>
  611.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterUnCap"/>
  612.   </xsl:template>
  613.  
  614.   
  615.   <xsl:template name="templ_str_InterviewByUnCap" >
  616.     <xsl:param name="LCID" />
  617.     <xsl:variable name="_LCID">
  618.       <xsl:call-template name="localLCID">
  619.         <xsl:with-param name="LCID" select="$LCID"/>
  620.       </xsl:call-template>
  621.     </xsl:variable>
  622.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByUnCap"/>
  623.   </xsl:template>
  624.  
  625.   
  626.   <xsl:template name="templ_str_ByUnCap" >
  627.     <xsl:param name="LCID" />
  628.     <xsl:variable name="_LCID">
  629.       <xsl:call-template name="localLCID">
  630.         <xsl:with-param name="LCID" select="$LCID"/>
  631.       </xsl:call-template>
  632.     </xsl:variable>
  633.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByUnCap"/>
  634.   </xsl:template>
  635.  
  636.   
  637.   <xsl:template name="templ_str_InNameUnCap" >
  638.     <xsl:param name="LCID" />
  639.     <xsl:variable name="_LCID">
  640.       <xsl:call-template name="localLCID">
  641.         <xsl:with-param name="LCID" select="$LCID"/>
  642.       </xsl:call-template>
  643.     </xsl:variable>
  644.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameUnCap"/>
  645.   </xsl:template>
  646.  
  647.   
  648.   <xsl:template name="templ_str_AccessedCap" >
  649.     <xsl:param name="LCID" />
  650.     <xsl:variable name="_LCID">
  651.       <xsl:call-template name="localLCID">
  652.         <xsl:with-param name="LCID" select="$LCID"/>
  653.       </xsl:call-template>
  654.     </xsl:variable>
  655.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AccessedCap"/>
  656.   </xsl:template>
  657.  
  658.   
  659.   <xsl:template name="templ_str_AccessedUnCap" >
  660.     <xsl:param name="LCID" />
  661.     <xsl:variable name="_LCID">
  662.       <xsl:call-template name="localLCID">
  663.         <xsl:with-param name="LCID" select="$LCID"/>
  664.       </xsl:call-template>
  665.     </xsl:variable>
  666.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AccessedUnCap"/>
  667.   </xsl:template>
  668.  
  669.   
  670.   <xsl:template name="templ_str_VolumesAfterShortUnCap" >
  671.     <xsl:param name="LCID" />
  672.     <xsl:variable name="_LCID">
  673.       <xsl:call-template name="localLCID">
  674.         <xsl:with-param name="LCID" select="$LCID"/>
  675.       </xsl:call-template>
  676.     </xsl:variable>
  677.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesAfterShortUnCap"/>
  678.   </xsl:template>
  679.  
  680.   
  681.   <xsl:template name="templ_str_OnlineCap" >
  682.     <xsl:param name="LCID" />
  683.     <xsl:variable name="_LCID">
  684.       <xsl:call-template name="localLCID">
  685.         <xsl:with-param name="LCID" select="$LCID"/>
  686.       </xsl:call-template>
  687.     </xsl:variable>
  688.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineCap"/>
  689.   </xsl:template>
  690.  
  691.   
  692.   <xsl:template name="templ_str_OnlineUnCap" >
  693.     <xsl:param name="LCID" />
  694.     <xsl:variable name="_LCID">
  695.       <xsl:call-template name="localLCID">
  696.         <xsl:with-param name="LCID" select="$LCID"/>
  697.       </xsl:call-template>
  698.     </xsl:variable>
  699.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineUnCap"/>
  700.   </xsl:template>
  701.  
  702.   
  703.   <xsl:template name="templ_str_FiledCap" >
  704.     <xsl:param name="LCID" />
  705.     <xsl:variable name="_LCID">
  706.       <xsl:call-template name="localLCID">
  707.         <xsl:with-param name="LCID" select="$LCID"/>
  708.       </xsl:call-template>
  709.     </xsl:variable>
  710.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FiledCap"/>
  711.   </xsl:template>
  712.  
  713.   
  714.   <xsl:template name="templ_str_PatentFiledCap" >
  715.     <xsl:param name="LCID" />
  716.     <xsl:variable name="_LCID">
  717.       <xsl:call-template name="localLCID">
  718.         <xsl:with-param name="LCID" select="$LCID"/>
  719.       </xsl:call-template>
  720.     </xsl:variable>
  721.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentFiledCap"/>
  722.   </xsl:template>
  723.  
  724.   
  725.   <xsl:template name="templ_str_InCap" >
  726.     <xsl:param name="LCID" />
  727.     <xsl:variable name="_LCID">
  728.       <xsl:call-template name="localLCID">
  729.         <xsl:with-param name="LCID" select="$LCID"/>
  730.       </xsl:call-template>
  731.     </xsl:variable>
  732.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InCap"/>
  733.   </xsl:template>
  734.  
  735.   
  736.   <xsl:template name="templ_str_InNameCap" >
  737.     <xsl:param name="LCID" />
  738.     <xsl:variable name="_LCID">
  739.       <xsl:call-template name="localLCID">
  740.         <xsl:with-param name="LCID" select="$LCID"/>
  741.       </xsl:call-template>
  742.     </xsl:variable>
  743.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameCap"/>
  744.   </xsl:template>
  745.  
  746.   
  747.   <xsl:template name="templ_str_WithUnCap" >
  748.     <xsl:param name="LCID" />
  749.     <xsl:variable name="_LCID">
  750.       <xsl:call-template name="localLCID">
  751.         <xsl:with-param name="LCID" select="$LCID"/>
  752.       </xsl:call-template>
  753.     </xsl:variable>
  754.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WithUnCap"/>
  755.   </xsl:template>
  756.  
  757.   
  758.   <xsl:template name="templ_str_VersionShortCap" >
  759.     <xsl:param name="LCID" />
  760.     <xsl:variable name="_LCID">
  761.       <xsl:call-template name="localLCID">
  762.         <xsl:with-param name="LCID" select="$LCID"/>
  763.       </xsl:call-template>
  764.     </xsl:variable>
  765.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VersionShortCap"/>
  766.   </xsl:template>
  767.  
  768.   
  769.   <xsl:template name="templ_str_InterviewCap" >
  770.     <xsl:param name="LCID" />
  771.     <xsl:variable name="_LCID">
  772.       <xsl:call-template name="localLCID">
  773.         <xsl:with-param name="LCID" select="$LCID"/>
  774.       </xsl:call-template>
  775.     </xsl:variable>
  776.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewCap"/>
  777.   </xsl:template>
  778.  
  779.   
  780.   <xsl:template name="templ_str_InterviewWithCap" >
  781.     <xsl:param name="LCID" />
  782.     <xsl:variable name="_LCID">
  783.       <xsl:call-template name="localLCID">
  784.         <xsl:with-param name="LCID" select="$LCID"/>
  785.       </xsl:call-template>
  786.     </xsl:variable>
  787.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewWithCap"/>
  788.   </xsl:template>
  789.  
  790.   
  791.   <xsl:template name="templ_str_InterviewByCap" >
  792.     <xsl:param name="LCID" />
  793.     <xsl:variable name="_LCID">
  794.       <xsl:call-template name="localLCID">
  795.         <xsl:with-param name="LCID" select="$LCID"/>
  796.       </xsl:call-template>
  797.     </xsl:variable>
  798.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByCap"/>
  799.   </xsl:template>
  800.  
  801.   
  802.   <xsl:template name="templ_str_ByCap" >
  803.     <xsl:param name="LCID" />
  804.     <xsl:variable name="_LCID">
  805.       <xsl:call-template name="localLCID">
  806.         <xsl:with-param name="LCID" select="$LCID"/>
  807.       </xsl:call-template>
  808.     </xsl:variable>
  809.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByCap"/>
  810.   </xsl:template>
  811.  
  812.   
  813.   <xsl:template name="templ_str_AndUnCap" >
  814.     <xsl:param name="LCID" />
  815.     <xsl:variable name="_LCID">
  816.       <xsl:call-template name="localLCID">
  817.         <xsl:with-param name="LCID" select="$LCID"/>
  818.       </xsl:call-template>
  819.     </xsl:variable>
  820.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndUnCap"/>
  821.   </xsl:template>
  822.  
  823.   
  824.   <xsl:template name="templ_str_AndOthersUnCap" >
  825.     <xsl:param name="LCID" />
  826.     <xsl:variable name="_LCID">
  827.       <xsl:call-template name="localLCID">
  828.         <xsl:with-param name="LCID" select="$LCID"/>
  829.       </xsl:call-template>
  830.     </xsl:variable>
  831.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndOthersUnCap"/>
  832.   </xsl:template>
  833.  
  834.   
  835.   <xsl:template name="templ_str_MotionPictureCap" >
  836.     <xsl:param name="LCID" />
  837.     <xsl:variable name="_LCID">
  838.       <xsl:call-template name="localLCID">
  839.         <xsl:with-param name="LCID" select="$LCID"/>
  840.       </xsl:call-template>
  841.     </xsl:variable>
  842.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:MotionPictureCap"/>
  843.   </xsl:template>
  844.  
  845.   
  846.   <xsl:template name="templ_str_PatentCap" >
  847.     <xsl:param name="LCID" />
  848.     <xsl:variable name="_LCID">
  849.       <xsl:call-template name="localLCID">
  850.         <xsl:with-param name="LCID" select="$LCID"/>
  851.       </xsl:call-template>
  852.     </xsl:variable>
  853.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentCap"/>
  854.   </xsl:template>
  855.  
  856.   
  857.   <xsl:template name="templ_str_EditionShortUnCap" >
  858.     <xsl:param name="LCID" />
  859.     <xsl:variable name="_LCID">
  860.       <xsl:call-template name="localLCID">
  861.         <xsl:with-param name="LCID" select="$LCID"/>
  862.       </xsl:call-template>
  863.     </xsl:variable>
  864.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionShortUnCap"/>
  865.   </xsl:template>
  866.  
  867.   
  868.   <xsl:template name="templ_str_EditionUnCap" >
  869.     <xsl:param name="LCID" />
  870.     <xsl:variable name="_LCID">
  871.       <xsl:call-template name="localLCID">
  872.         <xsl:with-param name="LCID" select="$LCID"/>
  873.       </xsl:call-template>
  874.     </xsl:variable>
  875.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionUnCap"/>
  876.   </xsl:template>
  877.  
  878.   
  879.   <xsl:template name="templ_str_RetrievedFromCap" >
  880.     <xsl:param name="LCID" />
  881.     <xsl:variable name="_LCID">
  882.       <xsl:call-template name="localLCID">
  883.         <xsl:with-param name="LCID" select="$LCID"/>
  884.       </xsl:call-template>
  885.     </xsl:variable>
  886.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedFromCap"/>
  887.   </xsl:template>
  888.  
  889.   
  890.   <xsl:template name="templ_str_RetrievedCap" >
  891.     <xsl:param name="LCID" />
  892.     <xsl:variable name="_LCID">
  893.       <xsl:call-template name="localLCID">
  894.         <xsl:with-param name="LCID" select="$LCID"/>
  895.       </xsl:call-template>
  896.     </xsl:variable>
  897.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedCap"/>
  898.   </xsl:template>
  899.  
  900.   
  901.   <xsl:template name="templ_str_FromCap" >
  902.     <xsl:param name="LCID" />
  903.     <xsl:variable name="_LCID">
  904.       <xsl:call-template name="localLCID">
  905.         <xsl:with-param name="LCID" select="$LCID"/>
  906.       </xsl:call-template>
  907.     </xsl:variable>
  908.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromCap"/>
  909.   </xsl:template>
  910.  
  911.   
  912.   <xsl:template name="templ_str_FromUnCap" >
  913.     <xsl:param name="LCID" />
  914.     <xsl:variable name="_LCID">
  915.       <xsl:call-template name="localLCID">
  916.         <xsl:with-param name="LCID" select="$LCID"/>
  917.       </xsl:call-template>
  918.     </xsl:variable>
  919.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromUnCap"/>
  920.   </xsl:template>
  921.  
  922.   
  923.   <xsl:template name="templ_str_NoDateShortUnCap" >
  924.     <xsl:param name="LCID" />
  925.     <xsl:variable name="_LCID">
  926.       <xsl:call-template name="localLCID">
  927.         <xsl:with-param name="LCID" select="$LCID"/>
  928.       </xsl:call-template>
  929.     </xsl:variable>
  930.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NoDateShortUnCap"/>
  931.   </xsl:template>
  932.  
  933.   
  934.   <xsl:template name="templ_str_NumberShortCap" >
  935.     <xsl:param name="LCID" />
  936.     <xsl:variable name="_LCID">
  937.       <xsl:call-template name="localLCID">
  938.         <xsl:with-param name="LCID" select="$LCID"/>
  939.       </xsl:call-template>
  940.     </xsl:variable>
  941.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortCap"/>
  942.   </xsl:template>
  943.  
  944.   
  945.   <xsl:template name="templ_str_NumberShortUnCap" >
  946.     <xsl:param name="LCID" />
  947.     <xsl:variable name="_LCID">
  948.       <xsl:call-template name="localLCID">
  949.         <xsl:with-param name="LCID" select="$LCID"/>
  950.       </xsl:call-template>
  951.     </xsl:variable>
  952.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortUnCap"/>
  953.   </xsl:template>
  954.  
  955.   
  956.   <xsl:template name="templ_str_PatentNumberShortCap" >
  957.     <xsl:param name="LCID" />
  958.     <xsl:variable name="_LCID">
  959.       <xsl:call-template name="localLCID">
  960.         <xsl:with-param name="LCID" select="$LCID"/>
  961.       </xsl:call-template>
  962.     </xsl:variable>
  963.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentNumberShortCap"/>
  964.   </xsl:template>
  965.  
  966.   
  967.   <xsl:template name="templ_str_PagesCountinousShort" >
  968.     <xsl:param name="LCID" />
  969.     <xsl:variable name="_LCID">
  970.       <xsl:call-template name="localLCID">
  971.         <xsl:with-param name="LCID" select="$LCID"/>
  972.       </xsl:call-template>
  973.     </xsl:variable>
  974.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PagesCountinousShort"/>
  975.   </xsl:template>
  976.  
  977.   
  978.   <xsl:template name="templ_str_PageShort" >
  979.     <xsl:param name="LCID" />
  980.     <xsl:variable name="_LCID">
  981.       <xsl:call-template name="localLCID">
  982.         <xsl:with-param name="LCID" select="$LCID"/>
  983.       </xsl:call-template>
  984.     </xsl:variable>
  985.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PageShort"/>
  986.   </xsl:template>
  987.  
  988.   
  989.   <xsl:template name="templ_str_SineNomineShort" >
  990.     <xsl:param name="LCID" />
  991.     <xsl:variable name="_LCID">
  992.       <xsl:call-template name="localLCID">
  993.         <xsl:with-param name="LCID" select="$LCID"/>
  994.       </xsl:call-template>
  995.     </xsl:variable>
  996.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineNomineShort"/>
  997.   </xsl:template>
  998.  
  999.   
  1000.   <xsl:template name="templ_str_SineLocoShort" >
  1001.     <xsl:param name="LCID" />
  1002.     <xsl:variable name="_LCID">
  1003.       <xsl:call-template name="localLCID">
  1004.         <xsl:with-param name="LCID" select="$LCID"/>
  1005.       </xsl:call-template>
  1006.     </xsl:variable>
  1007.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoShort"/>
  1008.   </xsl:template>
  1009.  
  1010.   
  1011.   <xsl:template name="templ_str_SineLocoSineNomineShort" >
  1012.     <xsl:param name="LCID" />
  1013.     <xsl:variable name="_LCID">
  1014.       <xsl:call-template name="localLCID">
  1015.         <xsl:with-param name="LCID" select="$LCID"/>
  1016.       </xsl:call-template>
  1017.     </xsl:variable>
  1018.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoSineNomineShort"/>
  1019.   </xsl:template>
  1020.  
  1021.   
  1022.   <xsl:template name="templ_str_VolumeOfShortCap" >
  1023.     <xsl:param name="LCID" />
  1024.     <xsl:variable name="_LCID">
  1025.       <xsl:call-template name="localLCID">
  1026.         <xsl:with-param name="LCID" select="$LCID"/>
  1027.       </xsl:call-template>
  1028.     </xsl:variable>
  1029.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeOfShortCap"/>
  1030.   </xsl:template>
  1031.  
  1032.   
  1033.   <xsl:template name="templ_str_VolumesOfShortCap" >
  1034.     <xsl:param name="LCID" />
  1035.     <xsl:variable name="_LCID">
  1036.       <xsl:call-template name="localLCID">
  1037.         <xsl:with-param name="LCID" select="$LCID"/>
  1038.       </xsl:call-template>
  1039.     </xsl:variable>
  1040.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesOfShortCap"/>
  1041.   </xsl:template>
  1042.  
  1043.   
  1044.   <xsl:template name="templ_str_VolumeShortCap" >
  1045.     <xsl:param name="LCID" />
  1046.     <xsl:variable name="_LCID">
  1047.       <xsl:call-template name="localLCID">
  1048.         <xsl:with-param name="LCID" select="$LCID"/>
  1049.       </xsl:call-template>
  1050.     </xsl:variable>
  1051.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortCap"/>
  1052.   </xsl:template>
  1053.  
  1054.   
  1055.   <xsl:template name="templ_str_VolumeShortUnCap" >
  1056.     <xsl:param name="LCID" />
  1057.     <xsl:variable name="_LCID">
  1058.       <xsl:call-template name="localLCID">
  1059.         <xsl:with-param name="LCID" select="$LCID"/>
  1060.       </xsl:call-template>
  1061.     </xsl:variable>
  1062.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortUnCap"/>
  1063.   </xsl:template>
  1064.  
  1065.   
  1066.   <xsl:template name="templ_str_VolumesShortUnCap" >
  1067.     <xsl:param name="LCID" />
  1068.     <xsl:variable name="_LCID">
  1069.       <xsl:call-template name="localLCID">
  1070.         <xsl:with-param name="LCID" select="$LCID"/>
  1071.       </xsl:call-template>
  1072.     </xsl:variable>
  1073.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortUnCap"/>
  1074.   </xsl:template>
  1075.  
  1076.   
  1077.   <xsl:template name="templ_str_VolumesShortCap" >
  1078.     <xsl:param name="LCID" />
  1079.     <xsl:variable name="_LCID">
  1080.       <xsl:call-template name="localLCID">
  1081.         <xsl:with-param name="LCID" select="$LCID"/>
  1082.       </xsl:call-template>
  1083.     </xsl:variable>
  1084.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortCap"/>
  1085.   </xsl:template>
  1086.  
  1087.   
  1088.   <xsl:template name="templ_str_VolumeCap" >
  1089.     <xsl:param name="LCID" />
  1090.     <xsl:variable name="_LCID">
  1091.       <xsl:call-template name="localLCID">
  1092.         <xsl:with-param name="LCID" select="$LCID"/>
  1093.       </xsl:call-template>
  1094.     </xsl:variable>
  1095.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeCap"/>
  1096.   </xsl:template>
  1097.  
  1098.   
  1099.   <xsl:template name="templ_str_AuthorShortUnCap" >
  1100.     <xsl:param name="LCID" />
  1101.     <xsl:variable name="_LCID">
  1102.       <xsl:call-template name="localLCID">
  1103.         <xsl:with-param name="LCID" select="$LCID"/>
  1104.       </xsl:call-template>
  1105.     </xsl:variable>
  1106.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AuthorShortUnCap"/>
  1107.   </xsl:template>
  1108.  
  1109.   
  1110.   <xsl:template name="templ_str_BookAuthorShortUnCap" >
  1111.     <xsl:param name="LCID" />
  1112.     <xsl:variable name="_LCID">
  1113.       <xsl:call-template name="localLCID">
  1114.         <xsl:with-param name="LCID" select="$LCID"/>
  1115.       </xsl:call-template>
  1116.     </xsl:variable>
  1117.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:BookAuthorShortUnCap"/>
  1118.   </xsl:template>
  1119.  
  1120.   
  1121.   <xsl:template name="templ_str_ArtistShortUnCap" >
  1122.     <xsl:param name="LCID" />
  1123.     <xsl:variable name="_LCID">
  1124.       <xsl:call-template name="localLCID">
  1125.         <xsl:with-param name="LCID" select="$LCID"/>
  1126.       </xsl:call-template>
  1127.     </xsl:variable>
  1128.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ArtistShortUnCap"/>
  1129.   </xsl:template>
  1130.  
  1131.   
  1132.   <xsl:template name="templ_str_WriterCap" >
  1133.     <xsl:param name="LCID" />
  1134.     <xsl:variable name="_LCID">
  1135.       <xsl:call-template name="localLCID">
  1136.         <xsl:with-param name="LCID" select="$LCID"/>
  1137.       </xsl:call-template>
  1138.     </xsl:variable>
  1139.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterCap"/>
  1140.   </xsl:template>
  1141.  
  1142.   
  1143.   <xsl:template name="templ_str_WritersCap" >
  1144.     <xsl:param name="LCID" />
  1145.     <xsl:variable name="_LCID">
  1146.       <xsl:call-template name="localLCID">
  1147.         <xsl:with-param name="LCID" select="$LCID"/>
  1148.       </xsl:call-template>
  1149.     </xsl:variable>
  1150.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WritersCap"/>
  1151.   </xsl:template>
  1152.  
  1153.   
  1154.   <xsl:template name="templ_str_WriterShortUnCap" >
  1155.     <xsl:param name="LCID" />
  1156.     <xsl:variable name="_LCID">
  1157.       <xsl:call-template name="localLCID">
  1158.         <xsl:with-param name="LCID" select="$LCID"/>
  1159.       </xsl:call-template>
  1160.     </xsl:variable>
  1161.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterShortUnCap"/>
  1162.   </xsl:template>
  1163.  
  1164.   
  1165.   <xsl:template name="templ_str_ConductedByCap" >
  1166.     <xsl:param name="LCID" />
  1167.     <xsl:variable name="_LCID">
  1168.       <xsl:call-template name="localLCID">
  1169.         <xsl:with-param name="LCID" select="$LCID"/>
  1170.       </xsl:call-template>
  1171.     </xsl:variable>
  1172.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByCap"/>
  1173.   </xsl:template>
  1174.  
  1175.   
  1176.   <xsl:template name="templ_str_ConductedByUnCap" >
  1177.     <xsl:param name="LCID" />
  1178.     <xsl:variable name="_LCID">
  1179.       <xsl:call-template name="localLCID">
  1180.         <xsl:with-param name="LCID" select="$LCID"/>
  1181.       </xsl:call-template>
  1182.     </xsl:variable>
  1183.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByUnCap"/>
  1184.   </xsl:template>
  1185.  
  1186.   
  1187.   <xsl:template name="templ_str_ConductorCap" >
  1188.     <xsl:param name="LCID" />
  1189.     <xsl:variable name="_LCID">
  1190.       <xsl:call-template name="localLCID">
  1191.         <xsl:with-param name="LCID" select="$LCID"/>
  1192.       </xsl:call-template>
  1193.     </xsl:variable>
  1194.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorCap"/>
  1195.   </xsl:template>
  1196.  
  1197.   
  1198.   <xsl:template name="templ_str_ConductorsCap" >
  1199.     <xsl:param name="LCID" />
  1200.     <xsl:variable name="_LCID">
  1201.       <xsl:call-template name="localLCID">
  1202.         <xsl:with-param name="LCID" select="$LCID"/>
  1203.       </xsl:call-template>
  1204.     </xsl:variable>
  1205.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsCap"/>
  1206.   </xsl:template>
  1207.  
  1208.   
  1209.   <xsl:template name="templ_str_ConductorShortCap" >
  1210.     <xsl:param name="LCID" />
  1211.     <xsl:variable name="_LCID">
  1212.       <xsl:call-template name="localLCID">
  1213.         <xsl:with-param name="LCID" select="$LCID"/>
  1214.       </xsl:call-template>
  1215.     </xsl:variable>
  1216.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortCap"/>
  1217.   </xsl:template>
  1218.  
  1219.   
  1220.   <xsl:template name="templ_str_ConductorShortUnCap" >
  1221.     <xsl:param name="LCID" />
  1222.     <xsl:variable name="_LCID">
  1223.       <xsl:call-template name="localLCID">
  1224.         <xsl:with-param name="LCID" select="$LCID"/>
  1225.       </xsl:call-template>
  1226.     </xsl:variable>
  1227.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortUnCap"/>
  1228.   </xsl:template>
  1229.  
  1230.   
  1231.   <xsl:template name="templ_str_ConductorsShortCap" >
  1232.     <xsl:param name="LCID" />
  1233.     <xsl:variable name="_LCID">
  1234.       <xsl:call-template name="localLCID">
  1235.         <xsl:with-param name="LCID" select="$LCID"/>
  1236.       </xsl:call-template>
  1237.     </xsl:variable>
  1238.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortCap"/>
  1239.   </xsl:template>
  1240.  
  1241.   
  1242.   <xsl:template name="templ_str_ConductorsShortUnCap" >
  1243.     <xsl:param name="LCID" />
  1244.     <xsl:variable name="_LCID">
  1245.       <xsl:call-template name="localLCID">
  1246.         <xsl:with-param name="LCID" select="$LCID"/>
  1247.       </xsl:call-template>
  1248.     </xsl:variable>
  1249.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortUnCap"/>
  1250.   </xsl:template>
  1251.  
  1252.   
  1253.   <xsl:template name="templ_str_CounselShortUnCapIso" >
  1254.     <xsl:param name="LCID" />
  1255.     <xsl:variable name="_LCID">
  1256.       <xsl:call-template name="localLCID">
  1257.         <xsl:with-param name="LCID" select="$LCID"/>
  1258.       </xsl:call-template>
  1259.     </xsl:variable>
  1260.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCapIso"/>
  1261.   </xsl:template>
  1262.  
  1263.   
  1264.   <xsl:template name="templ_str_CounselShortUnCap" >
  1265.     <xsl:param name="LCID" />
  1266.     <xsl:variable name="_LCID">
  1267.       <xsl:call-template name="localLCID">
  1268.         <xsl:with-param name="LCID" select="$LCID"/>
  1269.       </xsl:call-template>
  1270.     </xsl:variable>
  1271.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCap"/>
  1272.   </xsl:template>
  1273.  
  1274.   
  1275.   <xsl:template name="templ_str_DirectedByCap" >
  1276.     <xsl:param name="LCID" />
  1277.     <xsl:variable name="_LCID">
  1278.       <xsl:call-template name="localLCID">
  1279.         <xsl:with-param name="LCID" select="$LCID"/>
  1280.       </xsl:call-template>
  1281.     </xsl:variable>
  1282.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByCap"/>
  1283.   </xsl:template>
  1284.  
  1285.   
  1286.   <xsl:template name="templ_str_DirectedByUnCap" >
  1287.     <xsl:param name="LCID" />
  1288.     <xsl:variable name="_LCID">
  1289.       <xsl:call-template name="localLCID">
  1290.         <xsl:with-param name="LCID" select="$LCID"/>
  1291.       </xsl:call-template>
  1292.     </xsl:variable>
  1293.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByUnCap"/>
  1294.   </xsl:template>
  1295.  
  1296.   
  1297.   <xsl:template name="templ_str_DirectorCap" >
  1298.     <xsl:param name="LCID" />
  1299.     <xsl:variable name="_LCID">
  1300.       <xsl:call-template name="localLCID">
  1301.         <xsl:with-param name="LCID" select="$LCID"/>
  1302.       </xsl:call-template>
  1303.     </xsl:variable>
  1304.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorCap"/>
  1305.   </xsl:template>
  1306.  
  1307.   
  1308.   <xsl:template name="templ_str_DirectorsCap" >
  1309.     <xsl:param name="LCID" />
  1310.     <xsl:variable name="_LCID">
  1311.       <xsl:call-template name="localLCID">
  1312.         <xsl:with-param name="LCID" select="$LCID"/>
  1313.       </xsl:call-template>
  1314.     </xsl:variable>
  1315.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsCap"/>
  1316.   </xsl:template>
  1317.  
  1318.   
  1319.   <xsl:template name="templ_str_DirectorShortCap" >
  1320.     <xsl:param name="LCID" />
  1321.     <xsl:variable name="_LCID">
  1322.       <xsl:call-template name="localLCID">
  1323.         <xsl:with-param name="LCID" select="$LCID"/>
  1324.       </xsl:call-template>
  1325.     </xsl:variable>
  1326.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortCap"/>
  1327.   </xsl:template>
  1328.  
  1329.   
  1330.   <xsl:template name="templ_str_DirectorShortUnCap" >
  1331.     <xsl:param name="LCID" />
  1332.     <xsl:variable name="_LCID">
  1333.       <xsl:call-template name="localLCID">
  1334.         <xsl:with-param name="LCID" select="$LCID"/>
  1335.       </xsl:call-template>
  1336.     </xsl:variable>
  1337.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortUnCap"/>
  1338.   </xsl:template>
  1339.  
  1340.   
  1341.   <xsl:template name="templ_str_DirectorsShortCap" >
  1342.     <xsl:param name="LCID" />
  1343.     <xsl:variable name="_LCID">
  1344.       <xsl:call-template name="localLCID">
  1345.         <xsl:with-param name="LCID" select="$LCID"/>
  1346.       </xsl:call-template>
  1347.     </xsl:variable>
  1348.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortCap"/>
  1349.   </xsl:template>
  1350.  
  1351.   
  1352.   <xsl:template name="templ_str_DirectorsShortUnCap" >
  1353.     <xsl:param name="LCID" />
  1354.     <xsl:variable name="_LCID">
  1355.       <xsl:call-template name="localLCID">
  1356.         <xsl:with-param name="LCID" select="$LCID"/>
  1357.       </xsl:call-template>
  1358.     </xsl:variable>
  1359.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortUnCap"/>
  1360.   </xsl:template>
  1361.  
  1362.   
  1363.   <xsl:template name="templ_str_EditedByCap" >
  1364.     <xsl:param name="LCID" />
  1365.     <xsl:variable name="_LCID">
  1366.       <xsl:call-template name="localLCID">
  1367.         <xsl:with-param name="LCID" select="$LCID"/>
  1368.       </xsl:call-template>
  1369.     </xsl:variable>
  1370.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByCap"/>
  1371.   </xsl:template>
  1372.  
  1373.   
  1374.   <xsl:template name="templ_str_EditedByUnCap" >
  1375.     <xsl:param name="LCID" />
  1376.     <xsl:variable name="_LCID">
  1377.       <xsl:call-template name="localLCID">
  1378.         <xsl:with-param name="LCID" select="$LCID"/>
  1379.       </xsl:call-template>
  1380.     </xsl:variable>
  1381.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByUnCap"/>
  1382.   </xsl:template>
  1383.  
  1384.   
  1385.   <xsl:template name="templ_str_EditorCap" >
  1386.     <xsl:param name="LCID" />
  1387.     <xsl:variable name="_LCID">
  1388.       <xsl:call-template name="localLCID">
  1389.         <xsl:with-param name="LCID" select="$LCID"/>
  1390.       </xsl:call-template>
  1391.     </xsl:variable>
  1392.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorCap"/>
  1393.   </xsl:template>
  1394.  
  1395.   
  1396.   <xsl:template name="templ_str_EditorsCap" >
  1397.     <xsl:param name="LCID" />
  1398.     <xsl:variable name="_LCID">
  1399.       <xsl:call-template name="localLCID">
  1400.         <xsl:with-param name="LCID" select="$LCID"/>
  1401.       </xsl:call-template>
  1402.     </xsl:variable>
  1403.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsCap"/>
  1404.   </xsl:template>
  1405.  
  1406.   
  1407.   <xsl:template name="templ_str_EditorShortCap" >
  1408.     <xsl:param name="LCID" />
  1409.     <xsl:variable name="_LCID">
  1410.       <xsl:call-template name="localLCID">
  1411.         <xsl:with-param name="LCID" select="$LCID"/>
  1412.       </xsl:call-template>
  1413.     </xsl:variable>
  1414.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortCap"/>
  1415.   </xsl:template>
  1416.  
  1417.   
  1418.   <xsl:template name="templ_str_EditorShortUnCap" >
  1419.     <xsl:param name="LCID" />
  1420.     <xsl:variable name="_LCID">
  1421.       <xsl:call-template name="localLCID">
  1422.         <xsl:with-param name="LCID" select="$LCID"/>
  1423.       </xsl:call-template>
  1424.     </xsl:variable>
  1425.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortUnCap"/>
  1426.   </xsl:template>
  1427.  
  1428.   
  1429.   <xsl:template name="templ_str_EditorsShortCap" >
  1430.     <xsl:param name="LCID" />
  1431.     <xsl:variable name="_LCID">
  1432.       <xsl:call-template name="localLCID">
  1433.         <xsl:with-param name="LCID" select="$LCID"/>
  1434.       </xsl:call-template>
  1435.     </xsl:variable>
  1436.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortCap"/>
  1437.   </xsl:template>
  1438.  
  1439.   
  1440.   <xsl:template name="templ_str_EditorsShortUnCap" >
  1441.     <xsl:param name="LCID" />
  1442.     <xsl:variable name="_LCID">
  1443.       <xsl:call-template name="localLCID">
  1444.         <xsl:with-param name="LCID" select="$LCID"/>
  1445.       </xsl:call-template>
  1446.     </xsl:variable>
  1447.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortUnCap"/>
  1448.   </xsl:template>
  1449.  
  1450.   
  1451.   <xsl:template name="templ_str_IntervieweeShortUnCap" >
  1452.     <xsl:param name="LCID" />
  1453.     <xsl:variable name="_LCID">
  1454.       <xsl:call-template name="localLCID">
  1455.         <xsl:with-param name="LCID" select="$LCID"/>
  1456.       </xsl:call-template>
  1457.     </xsl:variable>
  1458.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:IntervieweeShortUnCap"/>
  1459.   </xsl:template>
  1460.  
  1461.   
  1462.   <xsl:template name="templ_str_InterviewerCap" >
  1463.     <xsl:param name="LCID" />
  1464.     <xsl:variable name="_LCID">
  1465.       <xsl:call-template name="localLCID">
  1466.         <xsl:with-param name="LCID" select="$LCID"/>
  1467.       </xsl:call-template>
  1468.     </xsl:variable>
  1469.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewerCap"/>
  1470.   </xsl:template>
  1471.  
  1472.   
  1473.   <xsl:template name="templ_str_InterviewersCap" >
  1474.     <xsl:param name="LCID" />
  1475.     <xsl:variable name="_LCID">
  1476.       <xsl:call-template name="localLCID">
  1477.         <xsl:with-param name="LCID" select="$LCID"/>
  1478.       </xsl:call-template>
  1479.     </xsl:variable>
  1480.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewersCap"/>
  1481.   </xsl:template>
  1482.  
  1483.   
  1484.   <xsl:template name="templ_str_InventorShortUnCap" >
  1485.     <xsl:param name="LCID" />
  1486.     <xsl:variable name="_LCID">
  1487.       <xsl:call-template name="localLCID">
  1488.         <xsl:with-param name="LCID" select="$LCID"/>
  1489.       </xsl:call-template>
  1490.     </xsl:variable>
  1491.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InventorShortUnCap"/>
  1492.   </xsl:template>
  1493.  
  1494.   
  1495.   <xsl:template name="templ_str_PerformedByCap" >
  1496.     <xsl:param name="LCID" />
  1497.     <xsl:variable name="_LCID">
  1498.       <xsl:call-template name="localLCID">
  1499.         <xsl:with-param name="LCID" select="$LCID"/>
  1500.       </xsl:call-template>
  1501.     </xsl:variable>
  1502.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByCap"/>
  1503.   </xsl:template>
  1504.  
  1505.   
  1506.   <xsl:template name="templ_str_PerformedByUnCap" >
  1507.     <xsl:param name="LCID" />
  1508.     <xsl:variable name="_LCID">
  1509.       <xsl:call-template name="localLCID">
  1510.         <xsl:with-param name="LCID" select="$LCID"/>
  1511.       </xsl:call-template>
  1512.     </xsl:variable>
  1513.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByUnCap"/>
  1514.   </xsl:template>
  1515.  
  1516.   
  1517.   <xsl:template name="templ_str_PerformerCap" >
  1518.     <xsl:param name="LCID" />
  1519.     <xsl:variable name="_LCID">
  1520.       <xsl:call-template name="localLCID">
  1521.         <xsl:with-param name="LCID" select="$LCID"/>
  1522.       </xsl:call-template>
  1523.     </xsl:variable>
  1524.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerCap"/>
  1525.   </xsl:template>
  1526.  
  1527.   
  1528.   <xsl:template name="templ_str_PerformersCap" >
  1529.     <xsl:param name="LCID" />
  1530.     <xsl:variable name="_LCID">
  1531.       <xsl:call-template name="localLCID">
  1532.         <xsl:with-param name="LCID" select="$LCID"/>
  1533.       </xsl:call-template>
  1534.     </xsl:variable>
  1535.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersCap"/>
  1536.   </xsl:template>
  1537.  
  1538.   
  1539.   <xsl:template name="templ_str_PerformerShortCap" >
  1540.     <xsl:param name="LCID" />
  1541.     <xsl:variable name="_LCID">
  1542.       <xsl:call-template name="localLCID">
  1543.         <xsl:with-param name="LCID" select="$LCID"/>
  1544.       </xsl:call-template>
  1545.     </xsl:variable>
  1546.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortCap"/>
  1547.   </xsl:template>
  1548.  
  1549.   
  1550.   <xsl:template name="templ_str_PerformerShortUnCap" >
  1551.     <xsl:param name="LCID" />
  1552.     <xsl:variable name="_LCID">
  1553.       <xsl:call-template name="localLCID">
  1554.         <xsl:with-param name="LCID" select="$LCID"/>
  1555.       </xsl:call-template>
  1556.     </xsl:variable>
  1557.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortUnCap"/>
  1558.   </xsl:template>
  1559.  
  1560.   
  1561.   <xsl:template name="templ_str_PerformersShortCap" >
  1562.     <xsl:param name="LCID" />
  1563.     <xsl:variable name="_LCID">
  1564.       <xsl:call-template name="localLCID">
  1565.         <xsl:with-param name="LCID" select="$LCID"/>
  1566.       </xsl:call-template>
  1567.     </xsl:variable>
  1568.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortCap"/>
  1569.   </xsl:template>
  1570.  
  1571.   
  1572.   <xsl:template name="templ_str_PerformersShortUnCap" >
  1573.     <xsl:param name="LCID" />
  1574.     <xsl:variable name="_LCID">
  1575.       <xsl:call-template name="localLCID">
  1576.         <xsl:with-param name="LCID" select="$LCID"/>
  1577.       </xsl:call-template>
  1578.     </xsl:variable>
  1579.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortUnCap"/>
  1580.   </xsl:template>
  1581.  
  1582.   
  1583.   <xsl:template name="templ_str_ProducedByCap" >
  1584.     <xsl:param name="LCID" />
  1585.     <xsl:variable name="_LCID">
  1586.       <xsl:call-template name="localLCID">
  1587.         <xsl:with-param name="LCID" select="$LCID"/>
  1588.       </xsl:call-template>
  1589.     </xsl:variable>
  1590.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByCap"/>
  1591.   </xsl:template>
  1592.  
  1593.   
  1594.   <xsl:template name="templ_str_ProducedByUnCap" >
  1595.     <xsl:param name="LCID" />
  1596.     <xsl:variable name="_LCID">
  1597.       <xsl:call-template name="localLCID">
  1598.         <xsl:with-param name="LCID" select="$LCID"/>
  1599.       </xsl:call-template>
  1600.     </xsl:variable>
  1601.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByUnCap"/>
  1602.   </xsl:template>
  1603.  
  1604.   
  1605.   <xsl:template name="templ_str_ProducerCap" >
  1606.     <xsl:param name="LCID" />
  1607.     <xsl:variable name="_LCID">
  1608.       <xsl:call-template name="localLCID">
  1609.         <xsl:with-param name="LCID" select="$LCID"/>
  1610.       </xsl:call-template>
  1611.     </xsl:variable>
  1612.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerCap"/>
  1613.   </xsl:template>
  1614.  
  1615.   
  1616.   <xsl:template name="templ_str_ProducersCap" >
  1617.     <xsl:param name="LCID" />
  1618.     <xsl:variable name="_LCID">
  1619.       <xsl:call-template name="localLCID">
  1620.         <xsl:with-param name="LCID" select="$LCID"/>
  1621.       </xsl:call-template>
  1622.     </xsl:variable>
  1623.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersCap"/>
  1624.   </xsl:template>
  1625.  
  1626.   
  1627.   <xsl:template name="templ_str_ProductionCompanyShortCap" >
  1628.     <xsl:param name="LCID" />
  1629.     <xsl:variable name="_LCID">
  1630.       <xsl:call-template name="localLCID">
  1631.         <xsl:with-param name="LCID" select="$LCID"/>
  1632.       </xsl:call-template>
  1633.     </xsl:variable>
  1634.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProductionCompanyShortCap"/>
  1635.   </xsl:template>
  1636.  
  1637.   
  1638.   <xsl:template name="templ_str_ProducerShortCap" >
  1639.     <xsl:param name="LCID" />
  1640.     <xsl:variable name="_LCID">
  1641.       <xsl:call-template name="localLCID">
  1642.         <xsl:with-param name="LCID" select="$LCID"/>
  1643.       </xsl:call-template>
  1644.     </xsl:variable>
  1645.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortCap"/>
  1646.   </xsl:template>
  1647.  
  1648.   
  1649.   <xsl:template name="templ_str_ProducersShortCap" >
  1650.     <xsl:param name="LCID" />
  1651.     <xsl:variable name="_LCID">
  1652.       <xsl:call-template name="localLCID">
  1653.         <xsl:with-param name="LCID" select="$LCID"/>
  1654.       </xsl:call-template>
  1655.     </xsl:variable>
  1656.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersShortCap"/>
  1657.   </xsl:template>
  1658.  
  1659.   
  1660.   <xsl:template name="templ_str_ProducerShortUnCap" >
  1661.     <xsl:param name="LCID" />
  1662.     <xsl:variable name="_LCID">
  1663.       <xsl:call-template name="localLCID">
  1664.         <xsl:with-param name="LCID" select="$LCID"/>
  1665.       </xsl:call-template>
  1666.     </xsl:variable>
  1667.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortUnCap"/>
  1668.   </xsl:template>
  1669.  
  1670.   
  1671.   <xsl:template name="templ_str_TranslatedByCap" >
  1672.     <xsl:param name="LCID" />
  1673.     <xsl:variable name="_LCID">
  1674.       <xsl:call-template name="localLCID">
  1675.         <xsl:with-param name="LCID" select="$LCID"/>
  1676.       </xsl:call-template>
  1677.     </xsl:variable>
  1678.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByCap"/>
  1679.   </xsl:template>
  1680.  
  1681.   
  1682.   <xsl:template name="templ_str_TranslatedByUnCap" >
  1683.     <xsl:param name="LCID" />
  1684.     <xsl:variable name="_LCID">
  1685.       <xsl:call-template name="localLCID">
  1686.         <xsl:with-param name="LCID" select="$LCID"/>
  1687.       </xsl:call-template>
  1688.     </xsl:variable>
  1689.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByUnCap"/>
  1690.   </xsl:template>
  1691.  
  1692.   
  1693.   <xsl:template name="templ_str_TranslatorCap" >
  1694.     <xsl:param name="LCID" />
  1695.     <xsl:variable name="_LCID">
  1696.       <xsl:call-template name="localLCID">
  1697.         <xsl:with-param name="LCID" select="$LCID"/>
  1698.       </xsl:call-template>
  1699.     </xsl:variable>
  1700.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorCap"/>
  1701.   </xsl:template>
  1702.  
  1703.   
  1704.   <xsl:template name="templ_str_TranslatorsCap" >
  1705.     <xsl:param name="LCID" />
  1706.     <xsl:variable name="_LCID">
  1707.       <xsl:call-template name="localLCID">
  1708.         <xsl:with-param name="LCID" select="$LCID"/>
  1709.       </xsl:call-template>
  1710.     </xsl:variable>
  1711.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsCap"/>
  1712.   </xsl:template>
  1713.  
  1714.   
  1715.   <xsl:template name="templ_str_TranslatorShortCap" >
  1716.     <xsl:param name="LCID" />
  1717.     <xsl:variable name="_LCID">
  1718.       <xsl:call-template name="localLCID">
  1719.         <xsl:with-param name="LCID" select="$LCID"/>
  1720.       </xsl:call-template>
  1721.     </xsl:variable>
  1722.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortCap"/>
  1723.   </xsl:template>
  1724.  
  1725.   
  1726.   <xsl:template name="templ_str_TranslatorShortUnCap" >
  1727.     <xsl:param name="LCID" />
  1728.     <xsl:variable name="_LCID">
  1729.       <xsl:call-template name="localLCID">
  1730.         <xsl:with-param name="LCID" select="$LCID"/>
  1731.       </xsl:call-template>
  1732.     </xsl:variable>
  1733.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortUnCap"/>
  1734.   </xsl:template>
  1735.  
  1736.   
  1737.   <xsl:template name="templ_str_TranslatorsShortCap" >
  1738.     <xsl:param name="LCID" />
  1739.     <xsl:variable name="_LCID">
  1740.       <xsl:call-template name="localLCID">
  1741.         <xsl:with-param name="LCID" select="$LCID"/>
  1742.       </xsl:call-template>
  1743.     </xsl:variable>
  1744.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortCap"/>
  1745.   </xsl:template>
  1746.  
  1747.   
  1748.   <xsl:template name="templ_str_TranslatorsShortUnCap" >
  1749.     <xsl:param name="LCID" />
  1750.     <xsl:variable name="_LCID">
  1751.       <xsl:call-template name="localLCID">
  1752.         <xsl:with-param name="LCID" select="$LCID"/>
  1753.       </xsl:call-template>
  1754.     </xsl:variable>
  1755.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortUnCap"/>
  1756.   </xsl:template>
  1757.  
  1758.   
  1759.   <xsl:template name="templ_str_ComposerCap" >
  1760.     <xsl:param name="LCID" />
  1761.     <xsl:variable name="_LCID">
  1762.       <xsl:call-template name="localLCID">
  1763.         <xsl:with-param name="LCID" select="$LCID"/>
  1764.       </xsl:call-template>
  1765.     </xsl:variable>
  1766.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerCap"/>
  1767.   </xsl:template>
  1768.  
  1769.   
  1770.   <xsl:template name="templ_str_ComposersCap" >
  1771.     <xsl:param name="LCID" />
  1772.     <xsl:variable name="_LCID">
  1773.       <xsl:call-template name="localLCID">
  1774.         <xsl:with-param name="LCID" select="$LCID"/>
  1775.       </xsl:call-template>
  1776.     </xsl:variable>
  1777.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersCap"/>
  1778.   </xsl:template>
  1779.  
  1780.   
  1781.   <xsl:template name="templ_str_ComposerShortCap" >
  1782.     <xsl:param name="LCID" />
  1783.     <xsl:variable name="_LCID">
  1784.       <xsl:call-template name="localLCID">
  1785.         <xsl:with-param name="LCID" select="$LCID"/>
  1786.       </xsl:call-template>
  1787.     </xsl:variable>
  1788.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortCap"/>
  1789.   </xsl:template>
  1790.  
  1791.   
  1792.   <xsl:template name="templ_str_ComposersShortCap" >
  1793.     <xsl:param name="LCID" />
  1794.     <xsl:variable name="_LCID">
  1795.       <xsl:call-template name="localLCID">
  1796.         <xsl:with-param name="LCID" select="$LCID"/>
  1797.       </xsl:call-template>
  1798.     </xsl:variable>
  1799.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersShortCap"/>
  1800.   </xsl:template>
  1801.  
  1802.   
  1803.   <xsl:template name="templ_str_ComposerShortUnCapIso" >
  1804.     <xsl:param name="LCID" />
  1805.     <xsl:variable name="_LCID">
  1806.       <xsl:call-template name="localLCID">
  1807.         <xsl:with-param name="LCID" select="$LCID"/>
  1808.       </xsl:call-template>
  1809.     </xsl:variable>
  1810.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortUnCapIso"/>
  1811.   </xsl:template>
  1812.  
  1813.   
  1814.   <xsl:template name="templ_str_CompiledByCap" >
  1815.     <xsl:param name="LCID" />
  1816.     <xsl:variable name="_LCID">
  1817.       <xsl:call-template name="localLCID">
  1818.         <xsl:with-param name="LCID" select="$LCID"/>
  1819.       </xsl:call-template>
  1820.     </xsl:variable>
  1821.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByCap"/>
  1822.   </xsl:template>
  1823.  
  1824.   
  1825.   <xsl:template name="templ_str_CompiledByUnCap" >
  1826.     <xsl:param name="LCID" />
  1827.     <xsl:variable name="_LCID">
  1828.       <xsl:call-template name="localLCID">
  1829.         <xsl:with-param name="LCID" select="$LCID"/>
  1830.       </xsl:call-template>
  1831.     </xsl:variable>
  1832.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByUnCap"/>
  1833.   </xsl:template>
  1834.  
  1835.   
  1836.   <xsl:template name="templ_str_CompilerCap" >
  1837.     <xsl:param name="LCID" />
  1838.     <xsl:variable name="_LCID">
  1839.       <xsl:call-template name="localLCID">
  1840.         <xsl:with-param name="LCID" select="$LCID"/>
  1841.       </xsl:call-template>
  1842.     </xsl:variable>
  1843.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerCap"/>
  1844.   </xsl:template>
  1845.  
  1846.   
  1847.   <xsl:template name="templ_str_CompilersCap" >
  1848.     <xsl:param name="LCID" />
  1849.     <xsl:variable name="_LCID">
  1850.       <xsl:call-template name="localLCID">
  1851.         <xsl:with-param name="LCID" select="$LCID"/>
  1852.       </xsl:call-template>
  1853.     </xsl:variable>
  1854.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersCap"/>
  1855.   </xsl:template>
  1856.  
  1857.   
  1858.   <xsl:template name="templ_str_CompilerShortCap" >
  1859.     <xsl:param name="LCID" />
  1860.     <xsl:variable name="_LCID">
  1861.       <xsl:call-template name="localLCID">
  1862.         <xsl:with-param name="LCID" select="$LCID"/>
  1863.       </xsl:call-template>
  1864.     </xsl:variable>
  1865.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortCap"/>
  1866.   </xsl:template>
  1867.  
  1868.   
  1869.   <xsl:template name="templ_str_CompilerShortUnCap" >
  1870.     <xsl:param name="LCID" />
  1871.     <xsl:variable name="_LCID">
  1872.       <xsl:call-template name="localLCID">
  1873.         <xsl:with-param name="LCID" select="$LCID"/>
  1874.       </xsl:call-template>
  1875.     </xsl:variable>
  1876.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCap"/>
  1877.   </xsl:template>
  1878.  
  1879.   
  1880.   <xsl:template name="templ_str_CompilersShortCap" >
  1881.     <xsl:param name="LCID" />
  1882.     <xsl:variable name="_LCID">
  1883.       <xsl:call-template name="localLCID">
  1884.         <xsl:with-param name="LCID" select="$LCID"/>
  1885.       </xsl:call-template>
  1886.     </xsl:variable>
  1887.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortCap"/>
  1888.   </xsl:template>
  1889.  
  1890.   
  1891.   <xsl:template name="templ_str_CompilersShortUnCap" >
  1892.     <xsl:param name="LCID" />
  1893.     <xsl:variable name="_LCID">
  1894.       <xsl:call-template name="localLCID">
  1895.         <xsl:with-param name="LCID" select="$LCID"/>
  1896.       </xsl:call-template>
  1897.     </xsl:variable>
  1898.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortUnCap"/>
  1899.   </xsl:template>
  1900.  
  1901.   
  1902.   <xsl:template name="templ_str_CompilerShortUnCapIso" >
  1903.     <xsl:param name="LCID" />
  1904.     <xsl:variable name="_LCID">
  1905.       <xsl:call-template name="localLCID">
  1906.         <xsl:with-param name="LCID" select="$LCID"/>
  1907.       </xsl:call-template>
  1908.     </xsl:variable>
  1909.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCapIso"/>
  1910.   </xsl:template>
  1911.  
  1912.  
  1913.   
  1914.  
  1915.   
  1916.   <xsl:template name="templ_prop_Culture" >
  1917.     <xsl:param name="LCID" />
  1918.     <xsl:variable name="_LCID">
  1919.       <xsl:call-template name="localLCID">
  1920.         <xsl:with-param name="LCID" select="$LCID"/>
  1921.       </xsl:call-template>
  1922.     </xsl:variable>
  1923.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/@Culture"/>
  1924.   </xsl:template>
  1925.  
  1926.   
  1927.   <xsl:template name="templ_prop_Direction" >
  1928.     <xsl:param name="LCID" />
  1929.     <xsl:variable name="_LCID">
  1930.       <xsl:call-template name="localLCID">
  1931.         <xsl:with-param name="LCID" select="$LCID"/>
  1932.       </xsl:call-template>
  1933.     </xsl:variable>
  1934.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Properties/b:Direction"/>
  1935.   </xsl:template>
  1936.  
  1937.  
  1938.   
  1939.  
  1940.   
  1941.   <xsl:template name="templ_prop_EndChars" >
  1942.     <xsl:param name="LCID" />
  1943.     <xsl:variable name="_LCID">
  1944.       <xsl:call-template name="localLCID">
  1945.         <xsl:with-param name="LCID" select="$LCID"/>
  1946.       </xsl:call-template>
  1947.     </xsl:variable>
  1948.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EndChars"/>
  1949.   </xsl:template>
  1950.  
  1951.   
  1952.   <xsl:template name="templ_prop_NormalizeSpace" >
  1953.     <xsl:param name="LCID" />
  1954.     <xsl:variable name="_LCID">
  1955.       <xsl:call-template name="localLCID">
  1956.         <xsl:with-param name="LCID" select="$LCID"/>
  1957.       </xsl:call-template>
  1958.     </xsl:variable>
  1959.     <xsl:text>no</xsl:text>
  1960.     
  1961.   </xsl:template>
  1962.  
  1963.   
  1964.   <xsl:template name="templ_prop_Space" >
  1965.     <xsl:param name="LCID" />
  1966.     <xsl:variable name="_LCID">
  1967.       <xsl:call-template name="localLCID">
  1968.         <xsl:with-param name="LCID" select="$LCID"/>
  1969.       </xsl:call-template>
  1970.     </xsl:variable>
  1971.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Space"/>
  1972.   </xsl:template>
  1973.  
  1974.   
  1975.   <xsl:template name="templ_prop_NonBreakingSpace" >
  1976.     <xsl:param name="LCID" />
  1977.     <xsl:variable name="_LCID">
  1978.       <xsl:call-template name="localLCID">
  1979.         <xsl:with-param name="LCID" select="$LCID"/>
  1980.       </xsl:call-template>
  1981.     </xsl:variable>
  1982.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NonBreakingSpace"/>
  1983.   </xsl:template>
  1984.  
  1985.   
  1986.   <xsl:template name="templ_prop_ListSeparator" >
  1987.     <xsl:param name="LCID" />
  1988.     <xsl:variable name="_LCID">
  1989.       <xsl:call-template name="localLCID">
  1990.         <xsl:with-param name="LCID" select="$LCID"/>
  1991.       </xsl:call-template>
  1992.     </xsl:variable>
  1993.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:ListSeparator"/>
  1994.   </xsl:template>
  1995.  
  1996.   
  1997.   <xsl:template name="templ_prop_Dot" >
  1998.     <xsl:param name="LCID" />
  1999.     <xsl:variable name="_LCID">
  2000.       <xsl:call-template name="localLCID">
  2001.         <xsl:with-param name="LCID" select="$LCID"/>
  2002.       </xsl:call-template>
  2003.     </xsl:variable>
  2004.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Dot"/>
  2005.   </xsl:template>
  2006.  
  2007.   
  2008.   <xsl:template name="templ_prop_DotInitial" >
  2009.     <xsl:param name="LCID" />
  2010.     <xsl:variable name="_LCID">
  2011.       <xsl:call-template name="localLCID">
  2012.         <xsl:with-param name="LCID" select="$LCID"/>
  2013.       </xsl:call-template>
  2014.     </xsl:variable>
  2015.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:DotInitial"/>
  2016.   </xsl:template>
  2017.  
  2018.   
  2019.   <xsl:template name="templ_prop_GroupSeparator" >
  2020.     <xsl:param name="LCID" />
  2021.     <xsl:variable name="_LCID">
  2022.       <xsl:call-template name="localLCID">
  2023.         <xsl:with-param name="LCID" select="$LCID"/>
  2024.       </xsl:call-template>
  2025.     </xsl:variable>
  2026.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:GroupSeparator"/>
  2027.   </xsl:template>
  2028.  
  2029.   
  2030.   <xsl:template name="templ_prop_EnumSeparator" >
  2031.     <xsl:param name="LCID" />
  2032.     <xsl:variable name="_LCID">
  2033.       <xsl:call-template name="localLCID">
  2034.         <xsl:with-param name="LCID" select="$LCID"/>
  2035.       </xsl:call-template>
  2036.     </xsl:variable>
  2037.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EnumSeparator"/>
  2038.   </xsl:template>
  2039.  
  2040.   
  2041.   <xsl:template name="templ_prop_Equal" >
  2042.     <xsl:param name="LCID" />
  2043.     <xsl:variable name="_LCID">
  2044.       <xsl:call-template name="localLCID">
  2045.         <xsl:with-param name="LCID" select="$LCID"/>
  2046.       </xsl:call-template>
  2047.     </xsl:variable>
  2048.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Equal"/>
  2049.   </xsl:template>
  2050.  
  2051.   
  2052.   <xsl:template name="templ_prop_Enum" >
  2053.     <xsl:param name="LCID" />
  2054.     <xsl:variable name="_LCID">
  2055.       <xsl:call-template name="localLCID">
  2056.         <xsl:with-param name="LCID" select="$LCID"/>
  2057.       </xsl:call-template>
  2058.     </xsl:variable>
  2059.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Enum"/>
  2060.   </xsl:template>
  2061.  
  2062.   
  2063.   <xsl:template name="templ_prop_OpenQuote" >
  2064.     <xsl:param name="LCID" />
  2065.     <xsl:variable name="_LCID">
  2066.       <xsl:call-template name="localLCID">
  2067.         <xsl:with-param name="LCID" select="$LCID"/>
  2068.       </xsl:call-template>
  2069.     </xsl:variable>
  2070.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenQuote"/>
  2071.   </xsl:template>
  2072.  
  2073.   
  2074.   <xsl:template name="templ_prop_CloseQuote" >
  2075.     <xsl:param name="LCID" />
  2076.     <xsl:variable name="_LCID">
  2077.       <xsl:call-template name="localLCID">
  2078.         <xsl:with-param name="LCID" select="$LCID"/>
  2079.       </xsl:call-template>
  2080.     </xsl:variable>
  2081.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseQuote"/>
  2082.   </xsl:template>
  2083.  
  2084.   
  2085.   <xsl:template name="templ_prop_OpenBracket" >
  2086.     <xsl:param name="LCID" />
  2087.     <xsl:variable name="_LCID">
  2088.       <xsl:call-template name="localLCID">
  2089.         <xsl:with-param name="LCID" select="$LCID"/>
  2090.       </xsl:call-template>
  2091.     </xsl:variable>
  2092.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket"/>
  2093.   </xsl:template>
  2094.  
  2095.   
  2096.   <xsl:template name="templ_prop_CloseBracket" >
  2097.     <xsl:param name="LCID" />
  2098.     <xsl:variable name="_LCID">
  2099.       <xsl:call-template name="localLCID">
  2100.         <xsl:with-param name="LCID" select="$LCID"/>
  2101.       </xsl:call-template>
  2102.     </xsl:variable>
  2103.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseBracket"/>
  2104.   </xsl:template>
  2105.  
  2106.   
  2107.   <xsl:template name="templ_prop_FromToDash" >
  2108.     <xsl:param name="LCID" />
  2109.     <xsl:variable name="_LCID">
  2110.       <xsl:call-template name="localLCID">
  2111.         <xsl:with-param name="LCID" select="$LCID"/>
  2112.       </xsl:call-template>
  2113.     </xsl:variable>
  2114.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:FromToDash"/>
  2115.   </xsl:template>
  2116.  
  2117.   
  2118.   <xsl:template name="templ_prop_OpenLink" >
  2119.     <xsl:param name="LCID" />
  2120.     <xsl:variable name="_LCID">
  2121.       <xsl:call-template name="localLCID">
  2122.         <xsl:with-param name="LCID" select="$LCID"/>
  2123.       </xsl:call-template>
  2124.     </xsl:variable>
  2125.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenLink"/>
  2126.   </xsl:template>
  2127.  
  2128.   
  2129.   <xsl:template name="templ_prop_CloseLink" >
  2130.     <xsl:param name="LCID" />
  2131.     <xsl:variable name="_LCID">
  2132.       <xsl:call-template name="localLCID">
  2133.         <xsl:with-param name="LCID" select="$LCID"/>
  2134.       </xsl:call-template>
  2135.     </xsl:variable>
  2136.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseLink"/>
  2137.   </xsl:template>
  2138.  
  2139.   
  2140.   <xsl:template name="templ_prop_AuthorsSeparator" >
  2141.     <xsl:param name="LCID" />
  2142.     <xsl:variable name="_LCID">
  2143.       <xsl:call-template name="localLCID">
  2144.         <xsl:with-param name="LCID" select="$LCID"/>
  2145.       </xsl:call-template>
  2146.     </xsl:variable>
  2147.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:AuthorsSeparator"/>
  2148.   </xsl:template>
  2149.  
  2150.   
  2151.   <xsl:template name="templ_prop_NoAndBeforeLastAuthor" >
  2152.     <xsl:param name="LCID" />
  2153.     <xsl:variable name="_LCID">
  2154.       <xsl:call-template name="localLCID">
  2155.         <xsl:with-param name="LCID" select="$LCID"/>
  2156.       </xsl:call-template>
  2157.     </xsl:variable>
  2158.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoAndBeforeLastAuthor"/>
  2159.   </xsl:template>
  2160.  
  2161.   
  2162.   <xsl:template name="templ_prop_SimpleAuthor_F" >
  2163.   <xsl:text>%F</xsl:text>
  2164.   
  2165.   </xsl:template>
  2166.  
  2167.   
  2168.   <xsl:template name="templ_prop_SimpleAuthor_M" >
  2169.   <xsl:text>%M</xsl:text>
  2170.   
  2171.   </xsl:template>
  2172.  
  2173.   
  2174.   <xsl:template name="templ_prop_SimpleAuthor_L" >
  2175.   <xsl:text>%L</xsl:text>
  2176.   
  2177.   </xsl:template>
  2178.  
  2179.   
  2180.   <xsl:template name="templ_prop_SimpleDate_D" >
  2181.   <xsl:text>%D</xsl:text>
  2182.   
  2183.   </xsl:template>
  2184.  
  2185.   
  2186.   <xsl:template name="templ_prop_SimpleDate_M" >
  2187.   <xsl:text>%M</xsl:text>
  2188.   
  2189.   </xsl:template>
  2190.  
  2191.   
  2192.   <xsl:template name="templ_prop_SimpleDate_Y" >
  2193.   <xsl:text>%Y</xsl:text>
  2194.   
  2195.   </xsl:template>
  2196.  
  2197.   
  2198.   <xsl:template name="templ_prop_MLA_SameAuthor" >
  2199.     <xsl:param name="LCID" />
  2200.     <xsl:variable name="_LCID">
  2201.       <xsl:call-template name="localLCID">
  2202.         <xsl:with-param name="LCID" select="$LCID"/>
  2203.       </xsl:call-template>
  2204.     </xsl:variable>
  2205.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SameAuthor"/>
  2206.   </xsl:template>
  2207.  
  2208.   
  2209.   <xsl:template name="templ_prop_MLA_MainAuthor_FML" >
  2210.     <xsl:param name="LCID" />
  2211.     <xsl:variable name="_LCID">
  2212.       <xsl:call-template name="localLCID">
  2213.         <xsl:with-param name="LCID" select="$LCID"/>
  2214.       </xsl:call-template>
  2215.     </xsl:variable>
  2216.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FML"/>
  2217.   </xsl:template>
  2218.  
  2219.   
  2220.   <xsl:template name="templ_prop_MLA_MainAuthor_FM" >
  2221.     <xsl:param name="LCID" />
  2222.     <xsl:variable name="_LCID">
  2223.       <xsl:call-template name="localLCID">
  2224.         <xsl:with-param name="LCID" select="$LCID"/>
  2225.       </xsl:call-template>
  2226.     </xsl:variable>
  2227.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FM"/>
  2228.   </xsl:template>
  2229.  
  2230.   
  2231.   <xsl:template name="templ_prop_MLA_MainAuthor_ML" >
  2232.     <xsl:param name="LCID" />
  2233.     <xsl:variable name="_LCID">
  2234.       <xsl:call-template name="localLCID">
  2235.         <xsl:with-param name="LCID" select="$LCID"/>
  2236.       </xsl:call-template>
  2237.     </xsl:variable>
  2238.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:ML"/>
  2239.   </xsl:template>
  2240.  
  2241.   
  2242.   <xsl:template name="templ_prop_MLA_MainAuthor_FL" >
  2243.     <xsl:param name="LCID" />
  2244.     <xsl:variable name="_LCID">
  2245.       <xsl:call-template name="localLCID">
  2246.         <xsl:with-param name="LCID" select="$LCID"/>
  2247.       </xsl:call-template>
  2248.     </xsl:variable>
  2249.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FL"/>
  2250.   </xsl:template>
  2251.  
  2252.   
  2253.   <xsl:template name="templ_prop_MLA_OtherAuthors_FML" >
  2254.     <xsl:param name="LCID" />
  2255.     <xsl:variable name="_LCID">
  2256.       <xsl:call-template name="localLCID">
  2257.         <xsl:with-param name="LCID" select="$LCID"/>
  2258.       </xsl:call-template>
  2259.     </xsl:variable>
  2260.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FML"/>
  2261.   </xsl:template>
  2262.  
  2263.   
  2264.   <xsl:template name="templ_prop_MLA_OtherAuthors_FM" >
  2265.     <xsl:param name="LCID" />
  2266.     <xsl:variable name="_LCID">
  2267.       <xsl:call-template name="localLCID">
  2268.         <xsl:with-param name="LCID" select="$LCID"/>
  2269.       </xsl:call-template>
  2270.     </xsl:variable>
  2271.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FM"/>
  2272.   </xsl:template>
  2273.  
  2274.   
  2275.   <xsl:template name="templ_prop_MLA_OtherAuthors_ML" >
  2276.     <xsl:param name="LCID" />
  2277.     <xsl:variable name="_LCID">
  2278.       <xsl:call-template name="localLCID">
  2279.         <xsl:with-param name="LCID" select="$LCID"/>
  2280.       </xsl:call-template>
  2281.     </xsl:variable>
  2282.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:ML"/>
  2283.   </xsl:template>
  2284.  
  2285.   
  2286.   <xsl:template name="templ_prop_MLA_OtherAuthors_FL" >
  2287.     <xsl:param name="LCID" />
  2288.     <xsl:variable name="_LCID">
  2289.       <xsl:call-template name="localLCID">
  2290.         <xsl:with-param name="LCID" select="$LCID"/>
  2291.       </xsl:call-template>
  2292.     </xsl:variable>
  2293.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FL"/>
  2294.   </xsl:template>
  2295.  
  2296.   
  2297.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FML" >
  2298.     <xsl:param name="LCID" />
  2299.     <xsl:variable name="_LCID">
  2300.       <xsl:call-template name="localLCID">
  2301.         <xsl:with-param name="LCID" select="$LCID"/>
  2302.       </xsl:call-template>
  2303.     </xsl:variable>
  2304.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FML"/>
  2305.   </xsl:template>
  2306.  
  2307.   
  2308.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FM" >
  2309.     <xsl:param name="LCID" />
  2310.     <xsl:variable name="_LCID">
  2311.       <xsl:call-template name="localLCID">
  2312.         <xsl:with-param name="LCID" select="$LCID"/>
  2313.       </xsl:call-template>
  2314.     </xsl:variable>
  2315.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FM"/>
  2316.   </xsl:template>
  2317.  
  2318.   
  2319.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_ML" >
  2320.     <xsl:param name="LCID" />
  2321.     <xsl:variable name="_LCID">
  2322.       <xsl:call-template name="localLCID">
  2323.         <xsl:with-param name="LCID" select="$LCID"/>
  2324.       </xsl:call-template>
  2325.     </xsl:variable>
  2326.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:ML"/>
  2327.   </xsl:template>
  2328.  
  2329.   
  2330.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FL" >
  2331.     <xsl:param name="LCID" />
  2332.     <xsl:variable name="_LCID">
  2333.       <xsl:call-template name="localLCID">
  2334.         <xsl:with-param name="LCID" select="$LCID"/>
  2335.       </xsl:call-template>
  2336.     </xsl:variable>
  2337.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FL"/>
  2338.   </xsl:template>
  2339.  
  2340.   
  2341.   <xsl:template name="templ_prop_MLA_Date_DMY" >
  2342.     <xsl:param name="LCID" />
  2343.     <xsl:variable name="_LCID">
  2344.       <xsl:call-template name="localLCID">
  2345.         <xsl:with-param name="LCID" select="$LCID"/>
  2346.       </xsl:call-template>
  2347.     </xsl:variable>
  2348.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DMY"/>
  2349.   </xsl:template>
  2350.  
  2351.   
  2352.   <xsl:template name="templ_prop_MLA_Date_DM" >
  2353.     <xsl:param name="LCID" />
  2354.     <xsl:variable name="_LCID">
  2355.       <xsl:call-template name="localLCID">
  2356.         <xsl:with-param name="LCID" select="$LCID"/>
  2357.       </xsl:call-template>
  2358.     </xsl:variable>
  2359.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DM"/>
  2360.   </xsl:template>
  2361.  
  2362.   
  2363.   <xsl:template name="templ_prop_MLA_Date_MY" >
  2364.     <xsl:param name="LCID" />
  2365.     <xsl:variable name="_LCID">
  2366.       <xsl:call-template name="localLCID">
  2367.         <xsl:with-param name="LCID" select="$LCID"/>
  2368.       </xsl:call-template>
  2369.     </xsl:variable>
  2370.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:MY"/>
  2371.   </xsl:template>
  2372.  
  2373.   
  2374.   <xsl:template name="templ_prop_MLA_Date_DY" >
  2375.     <xsl:param name="LCID" />
  2376.     <xsl:variable name="_LCID">
  2377.       <xsl:call-template name="localLCID">
  2378.         <xsl:with-param name="LCID" select="$LCID"/>
  2379.       </xsl:call-template>
  2380.     </xsl:variable>
  2381.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DY"/>
  2382.   </xsl:template>
  2383.  
  2384.   
  2385.   <xsl:template name="templ_prop_APA_MainAuthors_FML" >
  2386.     <xsl:param name="LCID" />
  2387.     <xsl:variable name="_LCID">
  2388.       <xsl:call-template name="localLCID">
  2389.         <xsl:with-param name="LCID" select="$LCID"/>
  2390.       </xsl:call-template>
  2391.     </xsl:variable>
  2392.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FML"/>
  2393.   </xsl:template>
  2394.  
  2395.   
  2396.   <xsl:template name="templ_prop_APA_MainAuthors_FM" >
  2397.     <xsl:param name="LCID" />
  2398.     <xsl:variable name="_LCID">
  2399.       <xsl:call-template name="localLCID">
  2400.         <xsl:with-param name="LCID" select="$LCID"/>
  2401.       </xsl:call-template>
  2402.     </xsl:variable>
  2403.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FM"/>
  2404.   </xsl:template>
  2405.  
  2406.   
  2407.   <xsl:template name="templ_prop_APA_MainAuthors_ML" >
  2408.     <xsl:param name="LCID" />
  2409.     <xsl:variable name="_LCID">
  2410.       <xsl:call-template name="localLCID">
  2411.         <xsl:with-param name="LCID" select="$LCID"/>
  2412.       </xsl:call-template>
  2413.     </xsl:variable>
  2414.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:ML"/>
  2415.   </xsl:template>
  2416.  
  2417.   
  2418.   <xsl:template name="templ_prop_APA_MainAuthors_FL" >
  2419.     <xsl:param name="LCID" />
  2420.     <xsl:variable name="_LCID">
  2421.       <xsl:call-template name="localLCID">
  2422.         <xsl:with-param name="LCID" select="$LCID"/>
  2423.       </xsl:call-template>
  2424.     </xsl:variable>
  2425.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FL"/>
  2426.   </xsl:template>
  2427.  
  2428.   
  2429.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FML" >
  2430.     <xsl:param name="LCID" />
  2431.     <xsl:variable name="_LCID">
  2432.       <xsl:call-template name="localLCID">
  2433.         <xsl:with-param name="LCID" select="$LCID"/>
  2434.       </xsl:call-template>
  2435.     </xsl:variable>
  2436.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FML"/>
  2437.   </xsl:template>
  2438.  
  2439.   
  2440.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FM" >
  2441.     <xsl:param name="LCID" />
  2442.     <xsl:variable name="_LCID">
  2443.       <xsl:call-template name="localLCID">
  2444.         <xsl:with-param name="LCID" select="$LCID"/>
  2445.       </xsl:call-template>
  2446.     </xsl:variable>
  2447.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FM"/>
  2448.   </xsl:template>
  2449.  
  2450.   
  2451.   <xsl:template name="templ_prop_APA_SecondaryAuthors_ML" >
  2452.     <xsl:param name="LCID" />
  2453.     <xsl:variable name="_LCID">
  2454.       <xsl:call-template name="localLCID">
  2455.         <xsl:with-param name="LCID" select="$LCID"/>
  2456.       </xsl:call-template>
  2457.     </xsl:variable>
  2458.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:ML"/>
  2459.   </xsl:template>
  2460.  
  2461.   
  2462.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FL" >
  2463.     <xsl:param name="LCID" />
  2464.     <xsl:variable name="_LCID">
  2465.       <xsl:call-template name="localLCID">
  2466.         <xsl:with-param name="LCID" select="$LCID"/>
  2467.       </xsl:call-template>
  2468.     </xsl:variable>
  2469.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FL"/>
  2470.   </xsl:template>
  2471.  
  2472.   
  2473.   <xsl:template name="templ_prop_APA_BeforeLastAuthor" >
  2474.     <xsl:param name="LCID" />
  2475.     <xsl:variable name="_LCID">
  2476.       <xsl:call-template name="localLCID">
  2477.         <xsl:with-param name="LCID" select="$LCID"/>
  2478.       </xsl:call-template>
  2479.     </xsl:variable>
  2480.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:BeforeLastAuthor"/>
  2481.   </xsl:template>
  2482.  
  2483.   
  2484.   <xsl:template name="templ_prop_APA_GeneralOpen" >
  2485.     <xsl:param name="LCID" />
  2486.     <xsl:variable name="_LCID">
  2487.       <xsl:call-template name="localLCID">
  2488.         <xsl:with-param name="LCID" select="$LCID"/>
  2489.       </xsl:call-template>
  2490.     </xsl:variable>
  2491.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralOpen"/>
  2492.   </xsl:template>
  2493.  
  2494.   
  2495.   <xsl:template name="templ_prop_APA_GeneralClose" >
  2496.     <xsl:param name="LCID" />
  2497.     <xsl:variable name="_LCID">
  2498.       <xsl:call-template name="localLCID">
  2499.         <xsl:with-param name="LCID" select="$LCID"/>
  2500.       </xsl:call-template>
  2501.     </xsl:variable>
  2502.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralClose"/>
  2503.   </xsl:template>
  2504.  
  2505.   
  2506.   <xsl:template name="templ_prop_APA_SecondaryOpen" >
  2507.     <xsl:param name="LCID" />
  2508.     <xsl:variable name="_LCID">
  2509.       <xsl:call-template name="localLCID">
  2510.         <xsl:with-param name="LCID" select="$LCID"/>
  2511.       </xsl:call-template>
  2512.     </xsl:variable>
  2513.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryOpen"/>
  2514.   </xsl:template>
  2515.  
  2516.   
  2517.   <xsl:template name="templ_prop_APA_SecondaryClose" >
  2518.     <xsl:param name="LCID" />
  2519.     <xsl:variable name="_LCID">
  2520.       <xsl:call-template name="localLCID">
  2521.         <xsl:with-param name="LCID" select="$LCID"/>
  2522.       </xsl:call-template>
  2523.     </xsl:variable>
  2524.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryClose"/>
  2525.   </xsl:template>
  2526.  
  2527.   
  2528.   <xsl:template name="templ_prop_Hyphens" >
  2529.     <xsl:param name="LCID" />
  2530.     <xsl:variable name="_LCID">
  2531.       <xsl:call-template name="localLCID">
  2532.         <xsl:with-param name="LCID" select="$LCID"/>
  2533.       </xsl:call-template>
  2534.     </xsl:variable>
  2535.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>
  2536.   </xsl:template>
  2537.  
  2538.   
  2539.   <xsl:template name="templ_prop_APA_Date_DMY" >
  2540.     <xsl:param name="LCID" />
  2541.     <xsl:variable name="_LCID">
  2542.       <xsl:call-template name="localLCID">
  2543.         <xsl:with-param name="LCID" select="$LCID"/>
  2544.       </xsl:call-template>
  2545.     </xsl:variable>
  2546.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DMY"/>
  2547.   </xsl:template>
  2548.  
  2549.   
  2550.   <xsl:template name="templ_prop_APA_Date_DM" >
  2551.     <xsl:param name="LCID" />
  2552.     <xsl:variable name="_LCID">
  2553.       <xsl:call-template name="localLCID">
  2554.         <xsl:with-param name="LCID" select="$LCID"/>
  2555.       </xsl:call-template>
  2556.     </xsl:variable>
  2557.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DM"/>
  2558.   </xsl:template>
  2559.  
  2560.   
  2561.   <xsl:template name="templ_prop_APA_Date_MY" >
  2562.     <xsl:param name="LCID" />
  2563.     <xsl:variable name="_LCID">
  2564.       <xsl:call-template name="localLCID">
  2565.         <xsl:with-param name="LCID" select="$LCID"/>
  2566.       </xsl:call-template>
  2567.     </xsl:variable>
  2568.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:MY"/>
  2569.   </xsl:template>
  2570.  
  2571.   
  2572.   <xsl:template name="templ_prop_APA_Date_DY" >
  2573.     <xsl:param name="LCID" />
  2574.     <xsl:variable name="_LCID">
  2575.       <xsl:call-template name="localLCID">
  2576.         <xsl:with-param name="LCID" select="$LCID"/>
  2577.       </xsl:call-template>
  2578.     </xsl:variable>
  2579.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DY"/>
  2580.   </xsl:template>
  2581.  
  2582.   
  2583.   <xsl:template name="templ_prop_APA_DateAccessed_DMY" >
  2584.     <xsl:param name="LCID" />
  2585.     <xsl:variable name="_LCID">
  2586.       <xsl:call-template name="localLCID">
  2587.         <xsl:with-param name="LCID" select="$LCID"/>
  2588.       </xsl:call-template>
  2589.     </xsl:variable>
  2590.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DMY"/>
  2591.   </xsl:template>
  2592.  
  2593.   
  2594.   <xsl:template name="templ_prop_APA_DateAccessed_DM" >
  2595.     <xsl:param name="LCID" />
  2596.     <xsl:variable name="_LCID">
  2597.       <xsl:call-template name="localLCID">
  2598.         <xsl:with-param name="LCID" select="$LCID"/>
  2599.       </xsl:call-template>
  2600.     </xsl:variable>
  2601.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DM"/>
  2602.   </xsl:template>
  2603.  
  2604.   
  2605.   <xsl:template name="templ_prop_APA_DateAccessed_MY" >
  2606.     <xsl:param name="LCID" />
  2607.     <xsl:variable name="_LCID">
  2608.       <xsl:call-template name="localLCID">
  2609.         <xsl:with-param name="LCID" select="$LCID"/>
  2610.       </xsl:call-template>
  2611.     </xsl:variable>
  2612.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:MY"/>
  2613.   </xsl:template>
  2614.  
  2615.   
  2616.   <xsl:template name="templ_prop_APA_DateAccessed_DY" >
  2617.     <xsl:param name="LCID" />
  2618.     <xsl:variable name="_LCID">
  2619.       <xsl:call-template name="localLCID">
  2620.         <xsl:with-param name="LCID" select="$LCID"/>
  2621.       </xsl:call-template>
  2622.     </xsl:variable>
  2623.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DY"/>
  2624.   </xsl:template>
  2625.  
  2626.   
  2627.   <xsl:template name="templ_prop_APA_DateCourt_DMY" >
  2628.     <xsl:param name="LCID" />
  2629.     <xsl:variable name="_LCID">
  2630.       <xsl:call-template name="localLCID">
  2631.         <xsl:with-param name="LCID" select="$LCID"/>
  2632.       </xsl:call-template>
  2633.     </xsl:variable>
  2634.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DMY"/>
  2635.   </xsl:template>
  2636.  
  2637.   
  2638.   <xsl:template name="templ_prop_APA_DateCourt_DM" >
  2639.     <xsl:param name="LCID" />
  2640.     <xsl:variable name="_LCID">
  2641.       <xsl:call-template name="localLCID">
  2642.         <xsl:with-param name="LCID" select="$LCID"/>
  2643.       </xsl:call-template>
  2644.     </xsl:variable>
  2645.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DM"/>
  2646.   </xsl:template>
  2647.  
  2648.   
  2649.   <xsl:template name="templ_prop_APA_DateCourt_MY" >
  2650.     <xsl:param name="LCID" />
  2651.     <xsl:variable name="_LCID">
  2652.       <xsl:call-template name="localLCID">
  2653.         <xsl:with-param name="LCID" select="$LCID"/>
  2654.       </xsl:call-template>
  2655.     </xsl:variable>
  2656.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:MY"/>
  2657.   </xsl:template>
  2658.  
  2659.   
  2660.   <xsl:template name="templ_prop_APA_DateCourt_DY" >
  2661.     <xsl:param name="LCID" />
  2662.     <xsl:variable name="_LCID">
  2663.       <xsl:call-template name="localLCID">
  2664.         <xsl:with-param name="LCID" select="$LCID"/>
  2665.       </xsl:call-template>
  2666.     </xsl:variable>
  2667.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DY"/>
  2668.   </xsl:template>
  2669.  
  2670.   
  2671.   <xsl:template name="templ_prop_Chicago_SameAuthor" >
  2672.     <xsl:param name="LCID" />
  2673.     <xsl:variable name="_LCID">
  2674.       <xsl:call-template name="localLCID">
  2675.         <xsl:with-param name="LCID" select="$LCID"/>
  2676.       </xsl:call-template>
  2677.     </xsl:variable>
  2678.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SameAuthor"/>
  2679.   </xsl:template>
  2680.  
  2681.   
  2682.   <xsl:template name="templ_prop_Chicago_MainAuthor_FML" >
  2683.     <xsl:param name="LCID" />
  2684.     <xsl:variable name="_LCID">
  2685.       <xsl:call-template name="localLCID">
  2686.         <xsl:with-param name="LCID" select="$LCID"/>
  2687.       </xsl:call-template>
  2688.     </xsl:variable>
  2689.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FML"/>
  2690.   </xsl:template>
  2691.  
  2692.   
  2693.   <xsl:template name="templ_prop_Chicago_MainAuthor_FM" >
  2694.     <xsl:param name="LCID" />
  2695.     <xsl:variable name="_LCID">
  2696.       <xsl:call-template name="localLCID">
  2697.         <xsl:with-param name="LCID" select="$LCID"/>
  2698.       </xsl:call-template>
  2699.     </xsl:variable>
  2700.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FM"/>
  2701.   </xsl:template>
  2702.  
  2703.   
  2704.   <xsl:template name="templ_prop_Chicago_MainAuthor_ML" >
  2705.     <xsl:param name="LCID" />
  2706.     <xsl:variable name="_LCID">
  2707.       <xsl:call-template name="localLCID">
  2708.         <xsl:with-param name="LCID" select="$LCID"/>
  2709.       </xsl:call-template>
  2710.     </xsl:variable>
  2711.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:ML"/>
  2712.   </xsl:template>
  2713.  
  2714.   
  2715.   <xsl:template name="templ_prop_Chicago_MainAuthor_FL" >
  2716.     <xsl:param name="LCID" />
  2717.     <xsl:variable name="_LCID">
  2718.       <xsl:call-template name="localLCID">
  2719.         <xsl:with-param name="LCID" select="$LCID"/>
  2720.       </xsl:call-template>
  2721.     </xsl:variable>
  2722.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FL"/>
  2723.   </xsl:template>
  2724.  
  2725.   
  2726.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FML" >
  2727.     <xsl:param name="LCID" />
  2728.     <xsl:variable name="_LCID">
  2729.       <xsl:call-template name="localLCID">
  2730.         <xsl:with-param name="LCID" select="$LCID"/>
  2731.       </xsl:call-template>
  2732.     </xsl:variable>
  2733.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FML"/>
  2734.   </xsl:template>
  2735.  
  2736.   
  2737.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FM" >
  2738.     <xsl:param name="LCID" />
  2739.     <xsl:variable name="_LCID">
  2740.       <xsl:call-template name="localLCID">
  2741.         <xsl:with-param name="LCID" select="$LCID"/>
  2742.       </xsl:call-template>
  2743.     </xsl:variable>
  2744.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FM"/>
  2745.   </xsl:template>
  2746.  
  2747.   
  2748.   <xsl:template name="templ_prop_Chicago_OtherAuthors_ML" >
  2749.     <xsl:param name="LCID" />
  2750.     <xsl:variable name="_LCID">
  2751.       <xsl:call-template name="localLCID">
  2752.         <xsl:with-param name="LCID" select="$LCID"/>
  2753.       </xsl:call-template>
  2754.     </xsl:variable>
  2755.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:ML"/>
  2756.   </xsl:template>
  2757.  
  2758.   
  2759.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FL" >
  2760.     <xsl:param name="LCID" />
  2761.     <xsl:variable name="_LCID">
  2762.       <xsl:call-template name="localLCID">
  2763.         <xsl:with-param name="LCID" select="$LCID"/>
  2764.       </xsl:call-template>
  2765.     </xsl:variable>
  2766.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FL"/>
  2767.   </xsl:template>
  2768.  
  2769.   
  2770.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FML" >
  2771.     <xsl:param name="LCID" />
  2772.     <xsl:variable name="_LCID">
  2773.       <xsl:call-template name="localLCID">
  2774.         <xsl:with-param name="LCID" select="$LCID"/>
  2775.       </xsl:call-template>
  2776.     </xsl:variable>
  2777.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FML"/>
  2778.   </xsl:template>
  2779.  
  2780.   
  2781.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FM" >
  2782.     <xsl:param name="LCID" />
  2783.     <xsl:variable name="_LCID">
  2784.       <xsl:call-template name="localLCID">
  2785.         <xsl:with-param name="LCID" select="$LCID"/>
  2786.       </xsl:call-template>
  2787.     </xsl:variable>
  2788.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FM"/>
  2789.   </xsl:template>
  2790.  
  2791.   
  2792.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_ML" >
  2793.     <xsl:param name="LCID" />
  2794.     <xsl:variable name="_LCID">
  2795.       <xsl:call-template name="localLCID">
  2796.         <xsl:with-param name="LCID" select="$LCID"/>
  2797.       </xsl:call-template>
  2798.     </xsl:variable>
  2799.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:ML"/>
  2800.   </xsl:template>
  2801.  
  2802.   
  2803.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FL" >
  2804.     <xsl:param name="LCID" />
  2805.     <xsl:variable name="_LCID">
  2806.       <xsl:call-template name="localLCID">
  2807.         <xsl:with-param name="LCID" select="$LCID"/>
  2808.       </xsl:call-template>
  2809.     </xsl:variable>
  2810.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FL"/>
  2811.   </xsl:template>
  2812.  
  2813.   
  2814.   <xsl:template name="templ_prop_Chicago_Date_DMY" >
  2815.     <xsl:param name="LCID" />
  2816.     <xsl:variable name="_LCID">
  2817.       <xsl:call-template name="localLCID">
  2818.         <xsl:with-param name="LCID" select="$LCID"/>
  2819.       </xsl:call-template>
  2820.     </xsl:variable>
  2821.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DMY"/>
  2822.   </xsl:template>
  2823.  
  2824.   
  2825.   <xsl:template name="templ_prop_Chicago_Date_DM" >
  2826.     <xsl:param name="LCID" />
  2827.     <xsl:variable name="_LCID">
  2828.       <xsl:call-template name="localLCID">
  2829.         <xsl:with-param name="LCID" select="$LCID"/>
  2830.       </xsl:call-template>
  2831.     </xsl:variable>
  2832.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DM"/>
  2833.   </xsl:template>
  2834.  
  2835.   
  2836.   <xsl:template name="templ_prop_Chicago_Date_MY" >
  2837.     <xsl:param name="LCID" />
  2838.     <xsl:variable name="_LCID">
  2839.       <xsl:call-template name="localLCID">
  2840.         <xsl:with-param name="LCID" select="$LCID"/>
  2841.       </xsl:call-template>
  2842.     </xsl:variable>
  2843.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:MY"/>
  2844.   </xsl:template>
  2845.  
  2846.   
  2847.   <xsl:template name="templ_prop_Chicago_Date_DY" >
  2848.     <xsl:param name="LCID" />
  2849.     <xsl:variable name="_LCID">
  2850.       <xsl:call-template name="localLCID">
  2851.         <xsl:with-param name="LCID" select="$LCID"/>
  2852.       </xsl:call-template>
  2853.     </xsl:variable>
  2854.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DY"/>
  2855.   </xsl:template>
  2856.  
  2857.   
  2858.   <xsl:template name="templ_prop_ISO690_MainAuthors_FML" >
  2859.     <xsl:param name="LCID" />
  2860.     <xsl:variable name="_LCID">
  2861.       <xsl:call-template name="localLCID">
  2862.         <xsl:with-param name="LCID" select="$LCID"/>
  2863.       </xsl:call-template>
  2864.     </xsl:variable>
  2865.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FML"/>
  2866.   </xsl:template>
  2867.  
  2868.   
  2869.   <xsl:template name="templ_prop_ISO690_MainAuthors_FM" >
  2870.     <xsl:param name="LCID" />
  2871.     <xsl:variable name="_LCID">
  2872.       <xsl:call-template name="localLCID">
  2873.         <xsl:with-param name="LCID" select="$LCID"/>
  2874.       </xsl:call-template>
  2875.     </xsl:variable>
  2876.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FM"/>
  2877.   </xsl:template>
  2878.  
  2879.   
  2880.   <xsl:template name="templ_prop_ISO690_MainAuthors_ML" >
  2881.     <xsl:param name="LCID" />
  2882.     <xsl:variable name="_LCID">
  2883.       <xsl:call-template name="localLCID">
  2884.         <xsl:with-param name="LCID" select="$LCID"/>
  2885.       </xsl:call-template>
  2886.     </xsl:variable>
  2887.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:ML"/>
  2888.   </xsl:template>
  2889.  
  2890.   
  2891.   <xsl:template name="templ_prop_ISO690_MainAuthors_FL" >
  2892.     <xsl:param name="LCID" />
  2893.     <xsl:variable name="_LCID">
  2894.       <xsl:call-template name="localLCID">
  2895.         <xsl:with-param name="LCID" select="$LCID"/>
  2896.       </xsl:call-template>
  2897.     </xsl:variable>
  2898.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FL"/>
  2899.   </xsl:template>
  2900.  
  2901.   
  2902.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FML" >
  2903.     <xsl:param name="LCID" />
  2904.     <xsl:variable name="_LCID">
  2905.       <xsl:call-template name="localLCID">
  2906.         <xsl:with-param name="LCID" select="$LCID"/>
  2907.       </xsl:call-template>
  2908.     </xsl:variable>
  2909.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FML"/>
  2910.   </xsl:template>
  2911.  
  2912.   
  2913.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FM" >
  2914.     <xsl:param name="LCID" />
  2915.     <xsl:variable name="_LCID">
  2916.       <xsl:call-template name="localLCID">
  2917.         <xsl:with-param name="LCID" select="$LCID"/>
  2918.       </xsl:call-template>
  2919.     </xsl:variable>
  2920.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FM"/>
  2921.   </xsl:template>
  2922.  
  2923.   
  2924.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_ML" >
  2925.     <xsl:param name="LCID" />
  2926.     <xsl:variable name="_LCID">
  2927.       <xsl:call-template name="localLCID">
  2928.         <xsl:with-param name="LCID" select="$LCID"/>
  2929.       </xsl:call-template>
  2930.     </xsl:variable>
  2931.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:ML"/>
  2932.   </xsl:template>
  2933.  
  2934.   
  2935.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FL" >
  2936.     <xsl:param name="LCID" />
  2937.     <xsl:variable name="_LCID">
  2938.       <xsl:call-template name="localLCID">
  2939.         <xsl:with-param name="LCID" select="$LCID"/>
  2940.       </xsl:call-template>
  2941.     </xsl:variable>
  2942.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FL"/>
  2943.   </xsl:template>
  2944.  
  2945.   
  2946.   <xsl:template name="templ_prop_ISO690_SameAuthor" >
  2947.     <xsl:param name="LCID" />
  2948.     <xsl:variable name="_LCID">
  2949.       <xsl:call-template name="localLCID">
  2950.         <xsl:with-param name="LCID" select="$LCID"/>
  2951.       </xsl:call-template>
  2952.     </xsl:variable>
  2953.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SameAuthor"/>
  2954.   </xsl:template>
  2955.  
  2956.   
  2957.   <xsl:template name="templ_prop_ISO690_GeneralOpen" >
  2958.     <xsl:param name="LCID" />
  2959.     <xsl:variable name="_LCID">
  2960.       <xsl:call-template name="localLCID">
  2961.         <xsl:with-param name="LCID" select="$LCID"/>
  2962.       </xsl:call-template>
  2963.     </xsl:variable>
  2964.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralOpen"/>
  2965.   </xsl:template>
  2966.  
  2967.   
  2968.   <xsl:template name="templ_prop_ISO690_GeneralClose" >
  2969.     <xsl:param name="LCID" />
  2970.     <xsl:variable name="_LCID">
  2971.       <xsl:call-template name="localLCID">
  2972.         <xsl:with-param name="LCID" select="$LCID"/>
  2973.       </xsl:call-template>
  2974.     </xsl:variable>
  2975.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralClose"/>
  2976.   </xsl:template>
  2977.  
  2978.   
  2979.   <xsl:template name="templ_prop_ISO690_Date_DMY" >
  2980.     <xsl:param name="LCID" />
  2981.     <xsl:variable name="_LCID">
  2982.       <xsl:call-template name="localLCID">
  2983.         <xsl:with-param name="LCID" select="$LCID"/>
  2984.       </xsl:call-template>
  2985.     </xsl:variable>
  2986.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DMY"/>
  2987.   </xsl:template>
  2988.  
  2989.   
  2990.   <xsl:template name="templ_prop_ISO690_Date_DM" >
  2991.     <xsl:param name="LCID" />
  2992.     <xsl:variable name="_LCID">
  2993.       <xsl:call-template name="localLCID">
  2994.         <xsl:with-param name="LCID" select="$LCID"/>
  2995.       </xsl:call-template>
  2996.     </xsl:variable>
  2997.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DM"/>
  2998.   </xsl:template>
  2999.  
  3000.   
  3001.   <xsl:template name="templ_prop_ISO690_Date_MY" >
  3002.     <xsl:param name="LCID" />
  3003.     <xsl:variable name="_LCID">
  3004.       <xsl:call-template name="localLCID">
  3005.         <xsl:with-param name="LCID" select="$LCID"/>
  3006.       </xsl:call-template>
  3007.     </xsl:variable>
  3008.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:MY"/>
  3009.   </xsl:template>
  3010.  
  3011.   
  3012.   <xsl:template name="templ_prop_ISO690_Date_DY" >
  3013.     <xsl:param name="LCID" />
  3014.     <xsl:variable name="_LCID">
  3015.       <xsl:call-template name="localLCID">
  3016.         <xsl:with-param name="LCID" select="$LCID"/>
  3017.       </xsl:call-template>
  3018.     </xsl:variable>
  3019.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DY"/>
  3020.   </xsl:template>
  3021.  
  3022.   
  3023.   <xsl:template name="templ_prop_ISO690_DateAccessed_DMY" >
  3024.     <xsl:param name="LCID" />
  3025.     <xsl:variable name="_LCID">
  3026.       <xsl:call-template name="localLCID">
  3027.         <xsl:with-param name="LCID" select="$LCID"/>
  3028.       </xsl:call-template>
  3029.     </xsl:variable>
  3030.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DMY"/>
  3031.   </xsl:template>
  3032.  
  3033.   
  3034.   <xsl:template name="templ_prop_ISO690_DateAccessed_DM" >
  3035.     <xsl:param name="LCID" />
  3036.     <xsl:variable name="_LCID">
  3037.       <xsl:call-template name="localLCID">
  3038.         <xsl:with-param name="LCID" select="$LCID"/>
  3039.       </xsl:call-template>
  3040.     </xsl:variable>
  3041.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DM"/>
  3042.   </xsl:template>
  3043.  
  3044.   
  3045.   <xsl:template name="templ_prop_ISO690_DateAccessed_MY" >
  3046.     <xsl:param name="LCID" />
  3047.     <xsl:variable name="_LCID">
  3048.       <xsl:call-template name="localLCID">
  3049.         <xsl:with-param name="LCID" select="$LCID"/>
  3050.       </xsl:call-template>
  3051.     </xsl:variable>
  3052.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:MY"/>
  3053.   </xsl:template>
  3054.  
  3055.   
  3056.   <xsl:template name="templ_prop_ISO690_DateAccessed_DY" >
  3057.     <xsl:param name="LCID" />
  3058.     <xsl:variable name="_LCID">
  3059.       <xsl:call-template name="localLCID">
  3060.         <xsl:with-param name="LCID" select="$LCID"/>
  3061.       </xsl:call-template>
  3062.     </xsl:variable>
  3063.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DY"/>
  3064.   </xsl:template>
  3065.  
  3066.   
  3067.   <xsl:template name="templ_prop_Gost_Authors_FML" >
  3068.     <xsl:param name="LCID" />
  3069.     <xsl:variable name="_LCID">
  3070.       <xsl:call-template name="localLCID">
  3071.         <xsl:with-param name="LCID" select="$LCID"/>
  3072.       </xsl:call-template>
  3073.     </xsl:variable>
  3074.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FML"/>
  3075.   </xsl:template>
  3076.  
  3077.   
  3078.   <xsl:template name="templ_prop_Gost_Authors_FM" >
  3079.     <xsl:param name="LCID" />
  3080.     <xsl:variable name="_LCID">
  3081.       <xsl:call-template name="localLCID">
  3082.         <xsl:with-param name="LCID" select="$LCID"/>
  3083.       </xsl:call-template>
  3084.     </xsl:variable>
  3085.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FM"/>
  3086.   </xsl:template>
  3087.  
  3088.   
  3089.   <xsl:template name="templ_prop_Gost_Authors_ML" >
  3090.     <xsl:param name="LCID" />
  3091.     <xsl:variable name="_LCID">
  3092.       <xsl:call-template name="localLCID">
  3093.         <xsl:with-param name="LCID" select="$LCID"/>
  3094.       </xsl:call-template>
  3095.     </xsl:variable>
  3096.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:ML"/>
  3097.   </xsl:template>
  3098.  
  3099.   
  3100.   <xsl:template name="templ_prop_Gost_Authors_FL" >
  3101.     <xsl:param name="LCID" />
  3102.     <xsl:variable name="_LCID">
  3103.       <xsl:call-template name="localLCID">
  3104.         <xsl:with-param name="LCID" select="$LCID"/>
  3105.       </xsl:call-template>
  3106.     </xsl:variable>
  3107.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FL"/>
  3108.   </xsl:template>
  3109.  
  3110.   
  3111.   <xsl:template name="templ_prop_Gost_Date_DMY" >
  3112.     <xsl:param name="LCID" />
  3113.     <xsl:variable name="_LCID">
  3114.       <xsl:call-template name="localLCID">
  3115.         <xsl:with-param name="LCID" select="$LCID"/>
  3116.       </xsl:call-template>
  3117.     </xsl:variable>
  3118.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DMY"/>
  3119.   </xsl:template>
  3120.  
  3121.   
  3122.   <xsl:template name="templ_prop_Gost_Date_DM" >
  3123.     <xsl:param name="LCID" />
  3124.     <xsl:variable name="_LCID">
  3125.       <xsl:call-template name="localLCID">
  3126.         <xsl:with-param name="LCID" select="$LCID"/>
  3127.       </xsl:call-template>
  3128.     </xsl:variable>
  3129.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DM"/>
  3130.   </xsl:template>
  3131.  
  3132.   
  3133.   <xsl:template name="templ_prop_Gost_Date_MY" >
  3134.     <xsl:param name="LCID" />
  3135.     <xsl:variable name="_LCID">
  3136.       <xsl:call-template name="localLCID">
  3137.         <xsl:with-param name="LCID" select="$LCID"/>
  3138.       </xsl:call-template>
  3139.     </xsl:variable>
  3140.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:MY"/>
  3141.   </xsl:template>
  3142.  
  3143.   
  3144.   <xsl:template name="templ_prop_Gost_Date_DY" >
  3145.     <xsl:param name="LCID" />
  3146.     <xsl:variable name="_LCID">
  3147.       <xsl:call-template name="localLCID">
  3148.         <xsl:with-param name="LCID" select="$LCID"/>
  3149.       </xsl:call-template>
  3150.     </xsl:variable>
  3151.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DY"/>
  3152.   </xsl:template>
  3153.  
  3154.   
  3155.   <xsl:template name="templ_prop_Gost_GeneralOpen" >
  3156.     <xsl:param name="LCID" />
  3157.     <xsl:variable name="_LCID">
  3158.       <xsl:call-template name="localLCID">
  3159.         <xsl:with-param name="LCID" select="$LCID"/>
  3160.       </xsl:call-template>
  3161.     </xsl:variable>
  3162.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralOpen"/>
  3163.   </xsl:template>
  3164.  
  3165.   
  3166.   <xsl:template name="templ_prop_Gost_GeneralClose" >
  3167.     <xsl:param name="LCID" />
  3168.     <xsl:variable name="_LCID">
  3169.       <xsl:call-template name="localLCID">
  3170.         <xsl:with-param name="LCID" select="$LCID"/>
  3171.       </xsl:call-template>
  3172.     </xsl:variable>
  3173.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralClose"/>
  3174.   </xsl:template>
  3175.  
  3176.   
  3177.   <xsl:template name="templ_prop_Gost_OneSlash" >
  3178.     <xsl:param name="LCID" />
  3179.     <xsl:variable name="_LCID">
  3180.       <xsl:call-template name="localLCID">
  3181.         <xsl:with-param name="LCID" select="$LCID"/>
  3182.       </xsl:call-template>
  3183.     </xsl:variable>
  3184.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:OneSlash"/>
  3185.   </xsl:template>
  3186.  
  3187.   
  3188.   <xsl:template name="templ_prop_Gost_TwoSlash" >
  3189.     <xsl:param name="LCID" />
  3190.     <xsl:variable name="_LCID">
  3191.       <xsl:call-template name="localLCID">
  3192.         <xsl:with-param name="LCID" select="$LCID"/>
  3193.       </xsl:call-template>
  3194.     </xsl:variable>
  3195.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:TwoSlash"/>
  3196.   </xsl:template>
  3197.  
  3198.   
  3199.   <xsl:template name="templ_prop_SIST_MainAuthors_FML" >
  3200.     <xsl:param name="LCID" />
  3201.     <xsl:variable name="_LCID">
  3202.       <xsl:call-template name="localLCID">
  3203.         <xsl:with-param name="LCID" select="$LCID"/>
  3204.       </xsl:call-template>
  3205.     </xsl:variable>
  3206.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FML"/>
  3207.   </xsl:template>
  3208.  
  3209.   
  3210.   <xsl:template name="templ_prop_SIST_MainAuthors_FM" >
  3211.     <xsl:param name="LCID" />
  3212.     <xsl:variable name="_LCID">
  3213.       <xsl:call-template name="localLCID">
  3214.         <xsl:with-param name="LCID" select="$LCID"/>
  3215.       </xsl:call-template>
  3216.     </xsl:variable>
  3217.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FM"/>
  3218.   </xsl:template>
  3219.  
  3220.   
  3221.   <xsl:template name="templ_prop_SIST_MainAuthors_ML" >
  3222.     <xsl:param name="LCID" />
  3223.     <xsl:variable name="_LCID">
  3224.       <xsl:call-template name="localLCID">
  3225.         <xsl:with-param name="LCID" select="$LCID"/>
  3226.       </xsl:call-template>
  3227.     </xsl:variable>
  3228.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:ML"/>
  3229.   </xsl:template>
  3230.  
  3231.   
  3232.   <xsl:template name="templ_prop_SIST_MainAuthors_FL" >
  3233.     <xsl:param name="LCID" />
  3234.     <xsl:variable name="_LCID">
  3235.       <xsl:call-template name="localLCID">
  3236.         <xsl:with-param name="LCID" select="$LCID"/>
  3237.       </xsl:call-template>
  3238.     </xsl:variable>
  3239.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FL"/>
  3240.   </xsl:template>
  3241.  
  3242.   
  3243.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FML" >
  3244.     <xsl:param name="LCID" />
  3245.     <xsl:variable name="_LCID">
  3246.       <xsl:call-template name="localLCID">
  3247.         <xsl:with-param name="LCID" select="$LCID"/>
  3248.       </xsl:call-template>
  3249.     </xsl:variable>
  3250.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FML"/>
  3251.   </xsl:template>
  3252.  
  3253.   
  3254.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FM" >
  3255.     <xsl:param name="LCID" />
  3256.     <xsl:variable name="_LCID">
  3257.       <xsl:call-template name="localLCID">
  3258.         <xsl:with-param name="LCID" select="$LCID"/>
  3259.       </xsl:call-template>
  3260.     </xsl:variable>
  3261.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FM"/>
  3262.   </xsl:template>
  3263.  
  3264.   
  3265.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_ML" >
  3266.     <xsl:param name="LCID" />
  3267.     <xsl:variable name="_LCID">
  3268.       <xsl:call-template name="localLCID">
  3269.         <xsl:with-param name="LCID" select="$LCID"/>
  3270.       </xsl:call-template>
  3271.     </xsl:variable>
  3272.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:ML"/>
  3273.   </xsl:template>
  3274.  
  3275.   
  3276.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FL" >
  3277.     <xsl:param name="LCID" />
  3278.     <xsl:variable name="_LCID">
  3279.       <xsl:call-template name="localLCID">
  3280.         <xsl:with-param name="LCID" select="$LCID"/>
  3281.       </xsl:call-template>
  3282.     </xsl:variable>
  3283.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FL"/>
  3284.   </xsl:template>
  3285.  
  3286.   
  3287.   <xsl:template name="templ_prop_SIST_SameAuthor" >
  3288.     <xsl:param name="LCID" />
  3289.     <xsl:variable name="_LCID">
  3290.       <xsl:call-template name="localLCID">
  3291.         <xsl:with-param name="LCID" select="$LCID"/>
  3292.       </xsl:call-template>
  3293.     </xsl:variable>
  3294.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SameAuthor"/>
  3295.   </xsl:template>
  3296.  
  3297.   
  3298.   <xsl:template name="templ_prop_SIST_GeneralOpen" >
  3299.     <xsl:param name="LCID" />
  3300.     <xsl:variable name="_LCID">
  3301.       <xsl:call-template name="localLCID">
  3302.         <xsl:with-param name="LCID" select="$LCID"/>
  3303.       </xsl:call-template>
  3304.     </xsl:variable>
  3305.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralOpen"/>
  3306.   </xsl:template>
  3307.  
  3308.   
  3309.   <xsl:template name="templ_prop_SIST_GeneralClose" >
  3310.     <xsl:param name="LCID" />
  3311.     <xsl:variable name="_LCID">
  3312.       <xsl:call-template name="localLCID">
  3313.         <xsl:with-param name="LCID" select="$LCID"/>
  3314.       </xsl:call-template>
  3315.     </xsl:variable>
  3316.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralClose"/>
  3317.   </xsl:template>
  3318.  
  3319.   
  3320.   <xsl:template name="templ_prop_SIST_Date_DMY" >
  3321.     <xsl:param name="LCID" />
  3322.     <xsl:variable name="_LCID">
  3323.       <xsl:call-template name="localLCID">
  3324.         <xsl:with-param name="LCID" select="$LCID"/>
  3325.       </xsl:call-template>
  3326.     </xsl:variable>
  3327.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DMY"/>
  3328.   </xsl:template>
  3329.  
  3330.   
  3331.   <xsl:template name="templ_prop_SIST_Date_DM" >
  3332.     <xsl:param name="LCID" />
  3333.     <xsl:variable name="_LCID">
  3334.       <xsl:call-template name="localLCID">
  3335.         <xsl:with-param name="LCID" select="$LCID"/>
  3336.       </xsl:call-template>
  3337.     </xsl:variable>
  3338.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DM"/>
  3339.   </xsl:template>
  3340.  
  3341.   
  3342.   <xsl:template name="templ_prop_SIST_Date_MY" >
  3343.     <xsl:param name="LCID" />
  3344.     <xsl:variable name="_LCID">
  3345.       <xsl:call-template name="localLCID">
  3346.         <xsl:with-param name="LCID" select="$LCID"/>
  3347.       </xsl:call-template>
  3348.     </xsl:variable>
  3349.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:MY"/>
  3350.   </xsl:template>
  3351.  
  3352.   
  3353.   <xsl:template name="templ_prop_SIST_Date_DY" >
  3354.     <xsl:param name="LCID" />
  3355.     <xsl:variable name="_LCID">
  3356.       <xsl:call-template name="localLCID">
  3357.         <xsl:with-param name="LCID" select="$LCID"/>
  3358.       </xsl:call-template>
  3359.     </xsl:variable>
  3360.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DY"/>
  3361.   </xsl:template>
  3362.  
  3363.   
  3364.   <xsl:template name="templ_prop_SIST_DateAccessed_DMY" >
  3365.     <xsl:param name="LCID" />
  3366.     <xsl:variable name="_LCID">
  3367.       <xsl:call-template name="localLCID">
  3368.         <xsl:with-param name="LCID" select="$LCID"/>
  3369.       </xsl:call-template>
  3370.     </xsl:variable>
  3371.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DMY"/>
  3372.   </xsl:template>
  3373.  
  3374.   
  3375.   <xsl:template name="templ_prop_SIST_DateAccessed_DM" >
  3376.     <xsl:param name="LCID" />
  3377.     <xsl:variable name="_LCID">
  3378.       <xsl:call-template name="localLCID">
  3379.         <xsl:with-param name="LCID" select="$LCID"/>
  3380.       </xsl:call-template>
  3381.     </xsl:variable>
  3382.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DM"/>
  3383.   </xsl:template>
  3384.  
  3385.   
  3386.   <xsl:template name="templ_prop_SIST_DateAccessed_MY" >
  3387.     <xsl:param name="LCID" />
  3388.     <xsl:variable name="_LCID">
  3389.       <xsl:call-template name="localLCID">
  3390.         <xsl:with-param name="LCID" select="$LCID"/>
  3391.       </xsl:call-template>
  3392.     </xsl:variable>
  3393.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:MY"/>
  3394.   </xsl:template>
  3395.  
  3396.   
  3397.   <xsl:template name="templ_prop_SIST_DateAccessed_DY" >
  3398.     <xsl:param name="LCID" />
  3399.     <xsl:variable name="_LCID">
  3400.       <xsl:call-template name="localLCID">
  3401.         <xsl:with-param name="LCID" select="$LCID"/>
  3402.       </xsl:call-template>
  3403.     </xsl:variable>
  3404.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DY"/>
  3405.   </xsl:template>
  3406.  
  3407.               
  3408.              
  3409.     
  3410.  
  3411.         
  3412.  
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.     
  3421.     
  3422.     <xsl:template match="/">
  3423.     
  3424.     
  3425.         <xsl:choose>
  3426.             
  3427.             
  3428.             <xsl:when test="b:Version">
  3429.                 <xsl:text>2006.5.07</xsl:text>
  3430.             </xsl:when>
  3431.             <xsl:when test="b:OfficeStyleKey">
  3432.                 <xsl:text>MLA</xsl:text>
  3433.             </xsl:when>
  3434.             
  3435.             
  3436.  
  3437.             
  3438.             
  3439.             
  3440.             <xsl:when test="b:GetImportantFields">
  3441.                 <b:ImportantFields>
  3442.                     <xsl:choose>
  3443.                         <xsl:when test="b:GetImportantFields/b:SourceType='Book'">
  3444.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3445.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3446.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3447.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3448.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3449.                         </xsl:when>
  3450.  
  3451.                         <xsl:when test="b:GetImportantFields/b:SourceType='BookSection'">
  3452.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3453.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3454.                             <b:ImportantField><xsl:text>b:Author/b:BookAuthor/b:NameList</xsl:text></b:ImportantField>
  3455.                             <b:ImportantField><xsl:text>b:BookTitle</xsl:text></b:ImportantField>
  3456.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3457.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3458.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3459.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3460.                         </xsl:when>
  3461.  
  3462.                         <xsl:when test="b:GetImportantFields/b:SourceType='JournalArticle'">
  3463.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3464.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3465.                             <b:ImportantField><xsl:text>b:JournalName</xsl:text></b:ImportantField>
  3466.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3467.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3468.                         </xsl:when>
  3469.  
  3470.                         <xsl:when test="b:GetImportantFields/b:SourceType='ArticleInAPeriodical'">
  3471.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3472.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3473.                             <b:ImportantField><xsl:text>b:PeriodicalTitle</xsl:text></b:ImportantField>
  3474.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3475.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3476.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3477.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3478.                         </xsl:when>
  3479.  
  3480.                         <xsl:when test="b:GetImportantFields/b:SourceType='ConferenceProceedings'">
  3481.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3482.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3483.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3484.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3485.                             <b:ImportantField><xsl:text>b:ConferenceName</xsl:text></b:ImportantField>
  3486.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3487.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3488.                         </xsl:when>
  3489.  
  3490.                         <xsl:when test="b:GetImportantFields/b:SourceType='Report'">
  3491.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3492.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3493.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3494.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3495.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3496.                             <b:ImportantField><xsl:text>b:ThesisType</xsl:text></b:ImportantField>
  3497.                         </xsl:when>
  3498.  
  3499.                         <xsl:when test="b:GetImportantFields/b:SourceType='SoundRecording'">
  3500.                             <b:ImportantField><xsl:text>b:Author/b:Composer/b:NameList</xsl:text></b:ImportantField>
  3501.                             <b:ImportantField><xsl:text>b:Author/b:Conductor/b:NameList</xsl:text></b:ImportantField>
  3502.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3503.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3504.                             <b:ImportantField><xsl:text>b:AlbumTitle</xsl:text></b:ImportantField>
  3505.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3506.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3507.                         </xsl:when>
  3508.  
  3509.                         <xsl:when test="b:GetImportantFields/b:SourceType='Performance'">
  3510.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3511.                             <b:ImportantField><xsl:text>b:Author/b:Writer/b:NameList</xsl:text></b:ImportantField>
  3512.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3513.                             <b:ImportantField><xsl:text>b:Theater</xsl:text></b:ImportantField>
  3514.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3515.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3516.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3517.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3518.                         </xsl:when>
  3519.  
  3520.                         <xsl:when test="b:GetImportantFields/b:SourceType='Art'">
  3521.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3522.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3523.                             <b:ImportantField><xsl:text>b:Institution</xsl:text></b:ImportantField>
  3524.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3525.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3526.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3527.                         </xsl:when>
  3528.  
  3529.                         <xsl:when test="b:GetImportantFields/b:SourceType='DocumentFromInternetSite'">
  3530.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3531.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3532.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3533.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3534.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3535.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3536.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3537.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3538.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3539.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3540.                         </xsl:when>
  3541.  
  3542.                         <xsl:when test="b:GetImportantFields/b:SourceType='InternetSite'">
  3543.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3544.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3545.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3546.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3547.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3548.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3549.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3550.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3551.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3552.                         </xsl:when>
  3553.  
  3554.                         <xsl:when test="b:GetImportantFields/b:SourceType='Film'">
  3555.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3556.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3557.                             <b:ImportantField><xsl:text>b:Author/b:Director/b:NameList</xsl:text></b:ImportantField>
  3558.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3559.                         </xsl:when>
  3560.  
  3561.                         <xsl:when test="b:GetImportantFields/b:SourceType='Interview'">
  3562.                             <b:ImportantField><xsl:text>b:Author/b:Interviewee/b:NameList</xsl:text></b:ImportantField>
  3563.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3564.                             <b:ImportantField><xsl:text>b:Author/b:Interviewer/b:NameList</xsl:text></b:ImportantField>
  3565.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3566.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3567.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3568.                         </xsl:when>
  3569.  
  3570.                         <xsl:when test="b:GetImportantFields/b:SourceType='Patent'">
  3571.                             <b:ImportantField><xsl:text>b:Author/b:Inventor/b:NameList</xsl:text></b:ImportantField>
  3572.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3573.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3574.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3575.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3576.                             <b:ImportantField><xsl:text>b:CountryRegion</xsl:text></b:ImportantField>
  3577.                             <b:ImportantField><xsl:text>b:PatentNumber</xsl:text></b:ImportantField>
  3578.                         </xsl:when>
  3579.  
  3580.                         <xsl:when test="b:GetImportantFields/b:SourceType='ElectronicSource'">
  3581.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3582.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3583.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3584.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3585.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3586.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3587.                         </xsl:when>
  3588.  
  3589.                         <xsl:when test="b:GetImportantFields/b:SourceType='Case'">
  3590.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3591.                             <b:ImportantField><xsl:text>b:CaseNumber</xsl:text></b:ImportantField>
  3592.                             <b:ImportantField><xsl:text>b:Court</xsl:text></b:ImportantField>
  3593.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3594.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3595.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3596.                         </xsl:when>
  3597.  
  3598.                         <xsl:when test="b:GetImportantFields/b:SourceType='Misc'">
  3599.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3600.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3601.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3602.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3603.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3604.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3605.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3606.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3607.                         </xsl:when>
  3608.  
  3609.                     </xsl:choose>
  3610.                 </b:ImportantFields>
  3611.             </xsl:when>
  3612.             
  3613.             <xsl:when test="b:Citation">
  3614.  
  3615.                 <xsl:variable name="ListPopulatedWithMain">
  3616.                         <xsl:call-template name="populateMain">
  3617.                             <xsl:with-param name="Type">b:Citation</xsl:with-param>
  3618.                         </xsl:call-template>
  3619.                 </xsl:variable>
  3620.  
  3621.             
  3622.             
  3623.                 <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
  3624.                     <head>
  3625.                     </head>
  3626.                     <body>
  3627.                         <xsl:variable name="LCID">
  3628.                           <xsl:choose>
  3629.                             <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3630.                               <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3631.                             </xsl:when>
  3632.                             <xsl:otherwise>
  3633.                               <xsl:value-of select="b:LCID"/>
  3634.                             </xsl:otherwise>
  3635.                           </xsl:choose>
  3636.                         </xsl:variable>
  3637.  
  3638.                         <xsl:element name="p">
  3639.  
  3640.                         <xsl:attribute name="lang">
  3641.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3642.                         </xsl:attribute>
  3643.  
  3644.                         <xsl:attribute name="dir">
  3645.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3646.                         </xsl:attribute>
  3647.  
  3648.                         <xsl:variable name="type">
  3649.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType"/>
  3650.                         </xsl:variable>
  3651.  
  3652.                         <xsl:variable name="title0">
  3653.                             <xsl:choose>
  3654.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle)>0">
  3655.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle" />
  3656.                                 </xsl:when>
  3657.  
  3658.                                 <xsl:otherwise>
  3659.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title" />
  3660.                                 </xsl:otherwise>
  3661.                             </xsl:choose>
  3662.                         </xsl:variable>
  3663.  
  3664.                         <xsl:variable name="year0">
  3665.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3666.                         </xsl:variable>                        
  3667.  
  3668.                         <xsl:variable name="authorMain">
  3669.                             <xsl:copy-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main"/>
  3670.                         </xsl:variable>
  3671.  
  3672.                         <xsl:variable name="author0">
  3673.                             <xsl:choose>
  3674.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate) > 0">
  3675.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate" />
  3676.                                 </xsl:when>
  3677.                                 <xsl:otherwise>
  3678.                                     <xsl:variable name="cAuthors">
  3679.                                         <xsl:value-of select="count(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person)" />
  3680.                                     </xsl:variable>
  3681.                                     <xsl:for-each select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person">
  3682.                                         
  3683.                                         <xsl:choose>
  3684.                                             <xsl:when test="position() > 3">
  3685.                                             </xsl:when>
  3686.                                             <xsl:otherwise>
  3687.                                                 <xsl:call-template name="formatNameCore">
  3688.                                                     <xsl:with-param name="FML">
  3689.                                                         <xsl:choose>
  3690.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3691.                                                                 <xsl:call-template name="templ_prop_MLA_CitationLong_FML"/>
  3692.                                                             </xsl:when>
  3693.                                                             <xsl:otherwise>
  3694.                                                                 <xsl:call-template name="templ_prop_MLA_CitationShort_FML"/>
  3695.                                                             </xsl:otherwise>
  3696.                                                         </xsl:choose>
  3697.                                                     </xsl:with-param>
  3698.                                                     <xsl:with-param name="FM">
  3699.                                                         <xsl:choose>
  3700.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3701.                                                                 <xsl:call-template name="templ_prop_MLA_CitationLong_FM"/>
  3702.                                                             </xsl:when>
  3703.                                                             <xsl:otherwise>
  3704.                                                                 <xsl:call-template name="templ_prop_MLA_CitationShort_FM"/>
  3705.                                                             </xsl:otherwise>
  3706.                                                         </xsl:choose>
  3707.                                                     </xsl:with-param>
  3708.                                                     <xsl:with-param name="ML">
  3709.                                                         <xsl:choose>
  3710.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3711.                                                                 <xsl:call-template name="templ_prop_MLA_CitationLong_ML"/>
  3712.                                                             </xsl:when>
  3713.                                                             <xsl:otherwise>
  3714.                                                                 <xsl:call-template name="templ_prop_MLA_CitationShort_ML"/>
  3715.                                                             </xsl:otherwise>
  3716.                                                         </xsl:choose>
  3717.                                                     </xsl:with-param>
  3718.                                                     <xsl:with-param name="FL">
  3719.                                                         <xsl:choose>
  3720.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3721.                                                                 <xsl:call-template name="templ_prop_MLA_CitationLong_FL"/>
  3722.                                                             </xsl:when>
  3723.                                                             <xsl:otherwise>
  3724.                                                                 <xsl:call-template name="templ_prop_MLA_CitationShort_FL"/>
  3725.                                                             </xsl:otherwise>
  3726.                                                         </xsl:choose>
  3727.                                                     </xsl:with-param>
  3728.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  3729.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  3730.                                                 </xsl:call-template>
  3731.                                             </xsl:otherwise>
  3732.                                         </xsl:choose>
  3733.                                         
  3734.                                         <xsl:choose>
  3735.                                             <xsl:when test="($cAuthors - 1 = position() and ($cAuthors = 2 or $cAuthors = 3)) or ($cAuthors > 3 and position() = 2)">
  3736.                                                 <xsl:variable name="noAndBeforeLastAuthor">
  3737.                                                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  3738.                                                 </xsl:variable>
  3739.  
  3740.                                                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  3741.                                                     <xsl:call-template name="templ_prop_Space"/>
  3742.                                                     <xsl:call-template name="templ_str_AndUnCap"/>
  3743.                                                     <xsl:call-template name="templ_prop_Space"/>
  3744.                                                 </xsl:if>
  3745.                                                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  3746.                                                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3747.                                                 </xsl:if>
  3748.                                             </xsl:when>
  3749.                                             <xsl:when test="$cAuthors > position() and 3 > position() ">
  3750.                                                 <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3751.                                             </xsl:when>
  3752.                                         </xsl:choose>
  3753.         
  3754.                                     </xsl:for-each>
  3755.                                 </xsl:otherwise>
  3756.                             </xsl:choose>
  3757.                         </xsl:variable>
  3758.  
  3759.                         <xsl:variable name="title">
  3760.                             <xsl:choose>
  3761.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoTitle">
  3762.                                 </xsl:when>
  3763.                                 
  3764.                                 <xsl:otherwise>
  3765.                                     <xsl:value-of select="$title0" />
  3766.                                 </xsl:otherwise>
  3767.                             </xsl:choose>
  3768.                         </xsl:variable>
  3769.  
  3770.                         <xsl:variable name="year">
  3771.                             <xsl:choose>
  3772.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoYear">
  3773.                                 </xsl:when>
  3774.                                 
  3775.                                 <xsl:otherwise>
  3776.                                     <xsl:value-of select="$year0" />
  3777.                                 </xsl:otherwise>
  3778.                             </xsl:choose>
  3779.                         </xsl:variable>                        
  3780.  
  3781.                         <xsl:variable name="author">
  3782.                             <xsl:choose>
  3783.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoAuthor">
  3784.                                 </xsl:when>
  3785.                                 <xsl:otherwise>
  3786.                                     <xsl:value-of select="$author0" />
  3787.                                 </xsl:otherwise>
  3788.                             </xsl:choose>
  3789.                         </xsl:variable>
  3790.  
  3791.                         <xsl:variable name="prop_APA_Hyphens">
  3792.                           <xsl:call-template name="templ_prop_Hyphens"/>
  3793.                         </xsl:variable>
  3794.  
  3795.                         <xsl:variable name="volume" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Volume"/>
  3796.  
  3797.                         <xsl:variable name="volVolume">
  3798.                             <xsl:if test="string-length($volume) > 0">
  3799.                                 <xsl:call-template name="StringFormat">
  3800.                                     <xsl:with-param name="format">
  3801.                                       <xsl:choose>
  3802.                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  3803.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3804.                                         </xsl:when>
  3805.                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  3806.                                           <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  3807.                                         </xsl:when>
  3808.                                         <xsl:otherwise>
  3809.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3810.                                         </xsl:otherwise>
  3811.                                       </xsl:choose>
  3812.                                     </xsl:with-param>
  3813.                                     <xsl:with-param name="parameters">
  3814.                                         <t:params>
  3815.                                             <t:param>
  3816.                                                 <xsl:value-of select="$volume"/>
  3817.                                             </t:param>
  3818.                                         </t:params>
  3819.                                     </xsl:with-param>
  3820.                                 </xsl:call-template>
  3821.                             </xsl:if>
  3822.                         </xsl:variable>
  3823.  
  3824.  
  3825.                         <xsl:variable name="pages" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Pages"/>
  3826.  
  3827.                         <xsl:variable name="displayAuthor">
  3828.                             <xsl:value-of select="$author" />
  3829.                         </xsl:variable>
  3830.  
  3831.                         <xsl:variable name="displayTitle">
  3832.                             <xsl:choose>
  3833.                                 <xsl:when test="string-length($displayAuthor) = 0">
  3834.                                     <xsl:if test="string-length($volume) = 0 and string-length($pages) = 0">
  3835.                                         <xsl:value-of select="$title" />
  3836.                                     </xsl:if>
  3837.                                 </xsl:when>
  3838.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:RepeatedAuthor">
  3839.                                     <xsl:value-of select="$title" />
  3840.                                 </xsl:when>
  3841.                             </xsl:choose>
  3842.                         </xsl:variable>
  3843.  
  3844.                         
  3845.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:FirstAuthor">
  3846.                             <xsl:call-template name="templ_prop_OpenBracket"/>
  3847.                         </xsl:if>
  3848.                     
  3849.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:PagePrefix">
  3850.                             <xsl:value-of select="/b:Citation/b:PagePrefix"/>
  3851.                         </xsl:if>
  3852.  
  3853.                         <xsl:value-of select="$displayAuthor" />
  3854.  
  3855.                         <xsl:if test="string-length($displayTitle) > 0">
  3856.                             <xsl:if test="string-length($displayAuthor) > 0">
  3857.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  3858.                             </xsl:if>
  3859.                             <xsl:value-of select="$displayTitle"/>
  3860.                         </xsl:if>
  3861.  
  3862.                         <xsl:if test="string-length($author0) = 0 and string-length($title0) = 0">
  3863.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Tag"/>
  3864.                         </xsl:if>
  3865.  
  3866.                         <xsl:if test="string-length($volume) > 0 or string-length($pages) > 0">
  3867.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0">
  3868.                                 <xsl:call-template name="templ_prop_Space"/>
  3869.                             </xsl:if>            
  3870.  
  3871.                             <xsl:choose>
  3872.                                 <xsl:when test="string-length($volume) > 0 and string-length($pages) > 0">
  3873.                                     <xsl:value-of select="$volume"/>
  3874.                                     <xsl:call-template name="templ_prop_Enum"/>
  3875.                                     <xsl:value-of select="$pages"/>
  3876.                                 </xsl:when>
  3877.                                 <xsl:when test="string-length($volVolume) > 0">
  3878.                                     <xsl:value-of select="$volVolume"/>
  3879.                                 </xsl:when>
  3880.                                 <xsl:when test="string-length($pages) > 0">
  3881.                                     <xsl:value-of select="$pages"/>
  3882.                                 </xsl:when>
  3883.                             </xsl:choose>
  3884.                         </xsl:if>
  3885.  
  3886.                         <xsl:if test="/b:Citation/b:PageSuffix">
  3887.                             <xsl:value-of select="/b:Citation/b:PageSuffix"/>
  3888.                         </xsl:if>
  3889.                         
  3890.                         <xsl:if test="/b:Citation/b:LastAuthor">
  3891.                             <xsl:call-template name="templ_prop_CloseBracket"/>
  3892.                         </xsl:if>
  3893.                         <xsl:if test="not(/b:Citation/b:LastAuthor)">
  3894.                             <xsl:call-template name="templ_prop_GroupSeparator"/>
  3895.                         </xsl:if>
  3896.  
  3897.                         </xsl:element>
  3898.                     </body>
  3899.                 </html>
  3900.             </xsl:when>
  3901.             <xsl:when test="b:Bibliography">
  3902.  
  3903.  
  3904.             
  3905.  
  3906.                 <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
  3907.                     <head>
  3908.                         
  3909.                         <style>
  3910.                             p.MsoBibliography, li.MsoBibliography, div.MsoBibliography
  3911.                         </style>
  3912.                     </head>
  3913.                     <body>
  3914.  
  3915.                     
  3916.                     
  3917.                         <xsl:variable name="ListPopulatedWithMain">
  3918.                                 <xsl:call-template name="populateMain">
  3919.                                     <xsl:with-param name="Type">b:Bibliography</xsl:with-param>
  3920.                                 </xsl:call-template>
  3921.                         </xsl:variable>
  3922.                         
  3923.                                 
  3924.                                 
  3925.                         <xsl:variable name="sList">
  3926.                             <xsl:call-template name="sortedList">
  3927.                                 <xsl:with-param name="sourceRoot"><xsl:copy-of select="$ListPopulatedWithMain"/></xsl:with-param>
  3928.                             </xsl:call-template>
  3929.                         </xsl:variable>
  3930.  
  3931.  
  3932.  
  3933.                         <xsl:variable name="dups">
  3934.                             <xsl:for-each select="msxsl:node-set($sList)/b:Bibliography/b:Source">
  3935.                                 <b:author>
  3936.                                     <xsl:call-template name="formatMain"/>
  3937.                                 </b:author>
  3938.                             </xsl:for-each>
  3939.                         </xsl:variable>
  3940.                         
  3941.                         <xsl:for-each select="msxsl:node-set($sList)/b:Bibliography/b:Source">
  3942.               <xsl:variable name="LCID">
  3943.                 <xsl:choose>
  3944.                   <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3945.                     <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3946.                   </xsl:when>
  3947.                   <xsl:otherwise>
  3948.                     <xsl:value-of select="b:LCID"/>
  3949.                   </xsl:otherwise>
  3950.                 </xsl:choose>
  3951.               </xsl:variable>
  3952.               <xsl:element name="p">
  3953.                                 <xsl:attribute name="lang">
  3954.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3955.                                 </xsl:attribute>
  3956.                                 <xsl:attribute name="dir">
  3957.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3958.                                 </xsl:attribute>
  3959.                                 <xsl:attribute name="class">
  3960.                                     <xsl:value-of select="'MsoBibliography'"/>
  3961.                                 </xsl:attribute>
  3962.                                 
  3963.                         
  3964.                             
  3965.                             
  3966.                                 
  3967.                                 
  3968.                                 
  3969.  
  3970.                                 <xsl:variable name="cEditors">
  3971.                                     <xsl:value-of select="count(b:Author/b:Editor/b:NameList/b:Person)"/>
  3972.                                 </xsl:variable>
  3973.  
  3974.                                 <xsl:variable name="cTranslators">
  3975.                                     <xsl:value-of select="count(b:Author/b:Translator/b:NameList/b:Person)"/>
  3976.                                 </xsl:variable>
  3977.  
  3978.                                 <xsl:variable name="cComposers">
  3979.                                     <xsl:value-of select="count(b:Author/b:Composer/b:NameList/b:Person)"/>
  3980.                                 </xsl:variable>
  3981.  
  3982.                                 <xsl:variable name="cCompilers">
  3983.                                     <xsl:value-of select="count(b:Author/b:Compiler/b:NameList/b:Person)"/>
  3984.                                 </xsl:variable>
  3985.  
  3986.                                 <xsl:variable name="cPerformers">
  3987.                                     <xsl:value-of select="count(b:Author/b:Performer/b:NameList/b:Person)"/>
  3988.                                 </xsl:variable>
  3989.  
  3990.                                 <xsl:variable name="cDirectors">
  3991.                                     <xsl:value-of select="count(b:Author/b:Director/b:NameList/b:Person)"/>
  3992.                                 </xsl:variable>
  3993.  
  3994.                                 <xsl:variable name="cProducers">
  3995.                                     <xsl:value-of select="count(b:Author/b:ProducerName/b:NameList/b:Person)"/>
  3996.                                 </xsl:variable>
  3997.  
  3998.                                 <xsl:variable name="cConductors">
  3999.                                     <xsl:value-of select="count(b:Author/b:Conductor/b:NameList/b:Person)"/>
  4000.                                 </xsl:variable>
  4001.  
  4002.  
  4003.  
  4004.  
  4005.  
  4006.                                 <xsl:variable name="actIndex" select="position()"/>
  4007.                                 <xsl:variable name="lastIndex" select="position() - 1"/>
  4008.  
  4009.                                 <xsl:variable name="actAuthor">
  4010.                                     <xsl:value-of select="msxsl:node-set($dups)/b:author[$actIndex]"/>
  4011.                                 </xsl:variable>
  4012.  
  4013.                                 <xsl:variable name="lastAuthor">
  4014.                                     <xsl:value-of select="msxsl:node-set($dups)/b:author[$lastIndex]"/>
  4015.                                 </xsl:variable>
  4016.  
  4017.                                 <xsl:variable name="author">
  4018.                                     <xsl:choose>
  4019.                                         <xsl:when test="position()=1">
  4020.                                             <xsl:call-template name="formatAuthor"/>
  4021.                                         </xsl:when>
  4022.                                         <xsl:when test="$actAuthor=$lastAuthor and string-length($actAuthor)>0 ">
  4023.                                             <xsl:call-template name="templ_prop_MLA_SameAuthor"/>
  4024.                                         </xsl:when>
  4025.                                         <xsl:otherwise>
  4026.                                             <xsl:call-template name="formatAuthor"/>
  4027.                                         </xsl:otherwise>
  4028.                                     </xsl:choose>
  4029.                                 </xsl:variable>
  4030.  
  4031.  
  4032.  
  4033.  
  4034.                                 <xsl:variable name="compiler">
  4035.                                     <xsl:call-template name="formatCompiler"/>
  4036.                                 </xsl:variable>
  4037.  
  4038.                                 <xsl:variable name="compilerLF">
  4039.                                     <xsl:call-template name="formatCompilerLF"/>
  4040.                                 </xsl:variable>
  4041.  
  4042.                                 <xsl:variable name="editor">
  4043.                                     <xsl:call-template name="formatEditor"/>
  4044.                                 </xsl:variable>
  4045.  
  4046.                                 <xsl:variable name="editorLF">
  4047.                                     <xsl:call-template name="formatEditorLF"/>
  4048.                                 </xsl:variable>
  4049.  
  4050.                                 <xsl:variable name="translator">
  4051.                                     <xsl:call-template name="formatTranslator"/>
  4052.                                 </xsl:variable>
  4053.  
  4054.                                 <xsl:variable name="translatorLF">
  4055.                                     <xsl:call-template name="formatTranslatorLF"/>
  4056.                                 </xsl:variable>
  4057.  
  4058.                                 <xsl:variable name="performer">
  4059.                                     <xsl:call-template name="formatPerformer"/>
  4060.                                 </xsl:variable>
  4061.  
  4062.                                 <xsl:variable name="intervieweeLF">
  4063.                                     <xsl:call-template name="formatIntervieweeLF"/>
  4064.                                 </xsl:variable>
  4065.  
  4066.                                 <xsl:variable name="producerName">
  4067.                                     <xsl:call-template name="formatProducerName"/>
  4068.                                 </xsl:variable>
  4069.  
  4070.                                 <xsl:variable name="interviewer">
  4071.                                     <xsl:call-template name="formatInterviewer"/>
  4072.                                 </xsl:variable>
  4073.  
  4074.                                 <xsl:variable name="interviewerLF">
  4075.                                     <xsl:call-template name="formatInterviewerLF"/>
  4076.                                 </xsl:variable>
  4077.  
  4078.                                 <xsl:variable name="writer">
  4079.                                     <xsl:call-template name="formatWriter"/>
  4080.                                 </xsl:variable>
  4081.  
  4082.                                 <xsl:variable name="director">
  4083.                                     <xsl:call-template name="formatDirector"/>
  4084.                                 </xsl:variable>
  4085.  
  4086.                                 <xsl:variable name="inventorLF">
  4087.                                     <xsl:call-template name="formatInventorLF"/>
  4088.                                 </xsl:variable>
  4089.  
  4090.                                 <xsl:variable name="bookAuthor">
  4091.                                     <xsl:call-template name="formatBookAuthor"/>
  4092.                                 </xsl:variable>
  4093.  
  4094.                                 <xsl:variable name="sectionAuthor">
  4095.                                     <xsl:call-template name="formatAuthor"/>
  4096.                                 </xsl:variable>
  4097.  
  4098.                                 <xsl:variable name="performerLF">
  4099.                                     <xsl:call-template name="formatPerformerLF"/>
  4100.                                 </xsl:variable>
  4101.  
  4102.                                 <xsl:variable name="conductorLF">
  4103.                                     <xsl:call-template name="formatConductorLF"/>
  4104.                                 </xsl:variable>
  4105.  
  4106.                                 <xsl:variable name="conductor">
  4107.                                     <xsl:call-template name="formatConductor"/>
  4108.                                 </xsl:variable>
  4109.  
  4110.                                 <xsl:variable name="composerLF">
  4111.                                     <xsl:call-template name="formatComposerLF"/>
  4112.                                 </xsl:variable>
  4113.  
  4114.                                 <xsl:variable name="composer">
  4115.                                     <xsl:call-template name="formatComposer"/>
  4116.                                 </xsl:variable>
  4117.  
  4118.                                 <xsl:variable name="artist">
  4119.                                     <xsl:call-template name="formatArtistLF"/>
  4120.                                 </xsl:variable>
  4121.  
  4122.  
  4123.  
  4124.  
  4125.  
  4126.                                 <xsl:variable name="date">
  4127.                                     <xsl:call-template name="formatDate"/>
  4128.                                 </xsl:variable>
  4129.  
  4130.                                 <xsl:variable name="dateDot">
  4131.                                     <xsl:call-template name="appendField_Dot">
  4132.                                         <xsl:with-param name="field" select="$date"/>
  4133.                                     </xsl:call-template>
  4134.                                 </xsl:variable>
  4135.  
  4136.                                 <xsl:variable name="dateAccessed">
  4137.                                     <xsl:call-template name="formatDateAccessed"/>
  4138.                                 </xsl:variable>
  4139.  
  4140.                                 <xsl:variable name="dateAccessedDot">
  4141.                                     <xsl:call-template name="appendField_Dot">
  4142.                                         <xsl:with-param name="field" select="$dateAccessed"/>
  4143.                                     </xsl:call-template>
  4144.                                 </xsl:variable>
  4145.  
  4146.                                 <xsl:variable name="tempCPcY">
  4147.                                     <xsl:call-template name="templateCPcY"/>
  4148.                                 </xsl:variable>
  4149.  
  4150.                                 <xsl:variable name="tempCPY">
  4151.                                     <xsl:call-template name="templateCPY"/>
  4152.                                 </xsl:variable>
  4153.  
  4154.                                 <xsl:variable name="tempIYP">
  4155.                                     <xsl:call-template name="templateIYP"/>
  4156.                                 </xsl:variable>
  4157.  
  4158.                                 <xsl:variable name="tempVYP">
  4159.                                     <xsl:call-template name="templateVYP"/>
  4160.                                 </xsl:variable>
  4161.  
  4162.                                 <xsl:variable name="tempDEP">
  4163.                                     <xsl:call-template name="templateDEP"/>
  4164.                                 </xsl:variable>
  4165.  
  4166.                                 <xsl:variable name="tempTC">
  4167.                                     <xsl:call-template name="templateTC"/>
  4168.                                 </xsl:variable>
  4169.  
  4170.                                 <xsl:variable name="tempIC">
  4171.                                     <xsl:call-template name="templateIC"/>
  4172.                                 </xsl:variable>
  4173.  
  4174.                                 <xsl:variable name="tempIY">
  4175.                                     <xsl:call-template name="templateIY"/>
  4176.                                 </xsl:variable>
  4177.  
  4178.                                 <xsl:variable name="tempDY">
  4179.                                     <xsl:call-template name="templateDY"/>
  4180.                                 </xsl:variable>
  4181.  
  4182.                                 <xsl:variable name="tempCPD">
  4183.                                     <xsl:call-template name="templateCPD"/>
  4184.                                 </xsl:variable>
  4185.  
  4186.                                 <xsl:variable name="tempSC">
  4187.                                     <xsl:call-template name="templateSC"/>
  4188.                                 </xsl:variable>
  4189.  
  4190.                                 <xsl:variable name="tempCP">
  4191.                                     <xsl:call-template name="templateCP"/>
  4192.                                 </xsl:variable>
  4193.  
  4194.                                 <xsl:variable name="tempCD">
  4195.                                     <xsl:call-template name="templateCD"/>
  4196.                                 </xsl:variable>
  4197.  
  4198.                                 <xsl:variable name="tempVIYP">
  4199.                                     <xsl:call-template name="templateVIYP"/>
  4200.                                 </xsl:variable>
  4201.  
  4202.                                 <xsl:variable name="tempDaU">
  4203.                                     <xsl:variable name="temporaryDaU">
  4204.                                     
  4205.                                         <xsl:value-of select="$dateAccessed"/>
  4206.  
  4207.                                         <xsl:if test="string-length($dateAccessedDot)>0 and string-length(b:URL)>0">
  4208.                                             <xsl:call-template name="templ_prop_Space"/>
  4209.                                         </xsl:if>
  4210.  
  4211.                                         <xsl:if test="string-length(b:URL)>0">
  4212.                                             <xsl:call-template name="templ_prop_OpenLink"/>
  4213.                                             <xsl:value-of select="b:URL"/>
  4214.                                             <xsl:call-template name="templ_prop_CloseLink"/>
  4215.                                         </xsl:if>
  4216.                                     </xsl:variable>
  4217.  
  4218.                                     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  4219.                                         <xsl:with-param name="field" select="$temporaryDaU"/>
  4220.                                     </xsl:call-template>        
  4221.                                 </xsl:variable>
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.                                 <xsl:variable name="titleDot">
  4230.                                     <xsl:call-template name="appendField_Dot">
  4231.                                         <xsl:with-param name="field" select="b:Title"/>
  4232.                                     </xsl:call-template>
  4233.                                 </xsl:variable>
  4234.  
  4235.                                 <xsl:variable name="albumTitleDot">
  4236.                                     <xsl:call-template name="appendField_Dot">
  4237.                                         <xsl:with-param name="field" select="b:AlbumTitle"/>
  4238.                                     </xsl:call-template>
  4239.                                 </xsl:variable>
  4240.  
  4241.                                 <xsl:variable name="pagesDot">
  4242.                                     <xsl:call-template name="appendField_Dot">
  4243.                                         <xsl:with-param name="field" select="b:Pages"/>
  4244.                                     </xsl:call-template>
  4245.                                 </xsl:variable>
  4246.  
  4247.                                 <xsl:variable name="bookTitleDot">
  4248.                                     <xsl:call-template name="appendField_Dot">
  4249.                                         <xsl:with-param name="field" select="b:BookTitle"/>
  4250.                                     </xsl:call-template>
  4251.                                 </xsl:variable>
  4252.  
  4253.                                 <xsl:variable name="conferenceNameDot">
  4254.                                     <xsl:call-template name="appendField_Dot">
  4255.                                         <xsl:with-param name="field" select="b:ConferenceName"/>
  4256.                                     </xsl:call-template>
  4257.                                 </xsl:variable>
  4258.  
  4259.                                 <xsl:variable name="broadcasterDot">
  4260.                                     <xsl:call-template name="appendField_Dot">
  4261.                                         <xsl:with-param name="field" select="b:Broadcaster"/>
  4262.                                     </xsl:call-template>
  4263.                                 </xsl:variable>
  4264.  
  4265.                                 <xsl:variable name="interviewTitle">
  4266.                                     <xsl:call-template name="handleSpaces">
  4267.                                         <xsl:with-param name="field" select="b:Title"/>
  4268.                                     </xsl:call-template>
  4269.                                 </xsl:variable>
  4270.  
  4271.                                 <xsl:variable name="interviewTitleDot">
  4272.                                     <xsl:call-template name="appendField_Dot">
  4273.                                         <xsl:with-param name="field" select="b:Title"/>
  4274.                                     </xsl:call-template>
  4275.                                 </xsl:variable>
  4276.  
  4277.                                 <xsl:variable name="publicationTitle">
  4278.                                     <xsl:call-template name="handleSpaces">
  4279.                                         <xsl:with-param name="field" select="b:PublicationTitle"/>
  4280.                                     </xsl:call-template>
  4281.                                 </xsl:variable>
  4282.  
  4283.                                 <xsl:variable name="publicationTitleDot">
  4284.                                     <xsl:call-template name="appendField_Dot">
  4285.                                         <xsl:with-param name="field" select="b:PublicationTitle"/>
  4286.                                     </xsl:call-template>
  4287.                                 </xsl:variable>
  4288.  
  4289.                                 <xsl:variable name="URL">
  4290.                                     <xsl:value-of select="b:URL"/>
  4291.                                 </xsl:variable>
  4292.  
  4293.                                 <xsl:variable name="cityDot">
  4294.                                     <xsl:call-template name="appendField_Dot">
  4295.                                         <xsl:with-param name="field" select="b:City"/>
  4296.                                     </xsl:call-template>
  4297.                                 </xsl:variable>
  4298.  
  4299.                                 <xsl:variable name="institutionDot">
  4300.                                     <xsl:call-template name="appendField_Dot">
  4301.                                         <xsl:with-param name="field" select="b:Institution"/>
  4302.                                     </xsl:call-template>
  4303.                                 </xsl:variable>
  4304.                                 
  4305.                                 <xsl:variable name="courtDot">
  4306.                                     <xsl:call-template name="appendField_Dot">
  4307.                                         <xsl:with-param name="field" select="b:Court"/>
  4308.                                     </xsl:call-template>
  4309.                                 </xsl:variable>
  4310.                                 
  4311.                                 <xsl:variable name="thesisTypeDot">
  4312.                                     <xsl:call-template name="appendField_Dot">
  4313.                                         <xsl:with-param name="field" select="b:ThesisType"/>
  4314.                                     </xsl:call-template>
  4315.                                 </xsl:variable>
  4316.                                 
  4317.                                 <xsl:variable name="journalNameDot">
  4318.                                     <xsl:call-template name="appendField_Dot">
  4319.                                         <xsl:with-param name="field" select="b:JournalName"/>
  4320.                                     </xsl:call-template>
  4321.                                 </xsl:variable>
  4322.                                 
  4323.                                 <xsl:variable name="journalName">
  4324.                                     <xsl:call-template name="handleSpaces">
  4325.                                         <xsl:with-param name="field" select="b:JournalName"/>
  4326.                                     </xsl:call-template>
  4327.                                 </xsl:variable>
  4328.  
  4329.                                 <xsl:variable name="internetSiteTitleDot">
  4330.                                     <xsl:call-template name="appendField_Dot">
  4331.                                         <xsl:with-param name="field" select="b:InternetSiteTitle"/>
  4332.                                     </xsl:call-template>
  4333.                                 </xsl:variable>
  4334.                                 
  4335.                                 <xsl:variable name="mediumDot">
  4336.                                     <xsl:call-template name="appendField_Dot">
  4337.                                         <xsl:with-param name="field" select="b:Medium"/>
  4338.                                     </xsl:call-template>
  4339.                                 </xsl:variable>
  4340.                                 
  4341.                                 <xsl:variable name="issueDot">
  4342.                                     <xsl:call-template name="appendField_Dot">
  4343.                                         <xsl:with-param name="field" select="b:Issue"/>
  4344.                                     </xsl:call-template>
  4345.                                 </xsl:variable>
  4346.                                 
  4347.                                 <xsl:variable name="productionCompanyDot">
  4348.                                     <xsl:call-template name="appendField_Dot">
  4349.                                         <xsl:with-param name="field" select="b:ProductionCompany"/>
  4350.                                     </xsl:call-template>
  4351.                                 </xsl:variable>
  4352.                                 
  4353.                                 <xsl:variable name="editionDot">
  4354.                                     <xsl:call-template name="appendField_Dot">
  4355.                                         <xsl:with-param name="field" select="b:Edition"/>
  4356.                                     </xsl:call-template>
  4357.                                 </xsl:variable>
  4358.                                 
  4359.                                 <xsl:variable name="broadcastTitle">
  4360.                                     <xsl:call-template name="handleSpaces">
  4361.                                         <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4362.                                     </xsl:call-template>
  4363.                                 </xsl:variable>
  4364.                                 
  4365.                                 <xsl:variable name="versionDot">
  4366.                                     <xsl:call-template name="appendField_Dot">
  4367.                                         <xsl:with-param name="field" select="b:Version"/>
  4368.                                     </xsl:call-template>
  4369.                                 </xsl:variable>
  4370.  
  4371.                                 <xsl:variable name="broadcastTitleDot">
  4372.                                     <xsl:call-template name="appendField_Dot">
  4373.                                         <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4374.                                     </xsl:call-template>
  4375.                                 </xsl:variable>
  4376.  
  4377.                                 <xsl:variable name="periodicalTitleDot">
  4378.                                     <xsl:call-template name="appendField_Dot">
  4379.                                         <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4380.                                     </xsl:call-template>
  4381.                                 </xsl:variable>
  4382.  
  4383.                                 <xsl:variable name="periodicalTitle">
  4384.                                     <xsl:call-template name="handleSpaces">
  4385.                                         <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4386.                                     </xsl:call-template>
  4387.                                 </xsl:variable>
  4388.  
  4389.                                 <xsl:variable name="productionCompany">
  4390.                                     <xsl:call-template name="handleSpaces">
  4391.                                         <xsl:with-param name="field" select="b:ProductionCompany"/>
  4392.                                     </xsl:call-template>
  4393.                                 </xsl:variable>
  4394.  
  4395.                                 <xsl:variable name="caseNumber">
  4396.                                     <xsl:call-template name="handleSpaces">
  4397.                                         <xsl:with-param name="field" select="b:CaseNumber"/>
  4398.                                     </xsl:call-template>
  4399.                                 </xsl:variable>
  4400.                                 
  4401.                                 <xsl:variable name="broadcaster">
  4402.                                     <xsl:call-template name="handleSpaces">
  4403.                                         <xsl:with-param name="field" select="b:Broadcaster"/>
  4404.                                     </xsl:call-template>
  4405.                                 </xsl:variable>
  4406.                                 
  4407.                                 <xsl:variable name="volume">
  4408.                                     <xsl:call-template name="handleSpaces">
  4409.                                         <xsl:with-param name="field" select="b:Volume"/>
  4410.                                     </xsl:call-template>
  4411.                                 </xsl:variable>
  4412.                                 
  4413.                                 
  4414.  
  4415.  
  4416.                                 <xsl:variable name="prefixVersionDot">
  4417.                                     <xsl:if test="string-length($versionDot)>0">
  4418.                                         <xsl:call-template name="templ_str_VersionShortCap"/>
  4419.                                         <xsl:call-template name="templ_prop_Space"/>
  4420.                                         <xsl:value-of select="$versionDot"/>
  4421.                                     </xsl:if>
  4422.                                 </xsl:variable>
  4423.  
  4424.                                 <xsl:variable name="prefixEditorDot">
  4425.                                     <xsl:if test="string-length($editor)>0">
  4426.                                         <xsl:if test="$cEditors > 1">
  4427.                                             <xsl:call-template name="templ_str_EditorShortCap"/>
  4428.                                         </xsl:if>
  4429.                                         <xsl:if test="$cEditors = 1">
  4430.                                             <xsl:call-template name="templ_str_EditorShortCap"/>
  4431.                                         </xsl:if>
  4432.                                         <xsl:call-template name="templ_prop_Space"/>
  4433.                                         <xsl:call-template name="appendField_Dot">
  4434.                                             <xsl:with-param name="field" select="$editor"/>
  4435.                                         </xsl:call-template>
  4436.                                     </xsl:if>
  4437.                                 </xsl:variable>
  4438.  
  4439.                                 <xsl:variable name="prefixTranslatorDot">
  4440.                                     <xsl:if test="string-length($translator)>0">
  4441.                                         <xsl:if test="$cTranslators > 1">
  4442.                                             <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  4443.                                         </xsl:if>
  4444.                                         <xsl:if test="$cTranslators = 1">
  4445.                                             <xsl:call-template name="templ_str_TranslatorShortCap"/>
  4446.                                         </xsl:if>
  4447.                                         <xsl:call-template name="templ_prop_Space"/>
  4448.                                         <xsl:call-template name="appendField_Dot">
  4449.                                             <xsl:with-param name="field" select="$translator"/>
  4450.                                         </xsl:call-template>
  4451.                                     </xsl:if>
  4452.                                 </xsl:variable>
  4453.  
  4454.  
  4455.  
  4456.                                 <xsl:variable name="prefixDirectorDot">
  4457.                                     <xsl:if test="string-length($director)>0">
  4458.                                         <xsl:if test="$cDirectors > 1">
  4459.                                             <xsl:call-template name="templ_str_DirectorsShortCap"/>
  4460.                                         </xsl:if>
  4461.                                         <xsl:if test="$cDirectors = 1">
  4462.                                             <xsl:call-template name="templ_str_DirectorShortCap"/>
  4463.                                         </xsl:if>
  4464.                                         <xsl:call-template name="templ_prop_Space"/>
  4465.                                         <xsl:call-template name="appendField_Dot">
  4466.                                             <xsl:with-param name="field" select="$director"/>
  4467.                                         </xsl:call-template>
  4468.                                     </xsl:if>
  4469.                                 </xsl:variable>
  4470.  
  4471.                                 <xsl:variable name="prefixPerformerDot">
  4472.                                     <xsl:if test="string-length($performer)>0">
  4473.                                         <xsl:if test="$cPerformers > 1">
  4474.                                             <xsl:call-template name="templ_str_PerformerShortCap"/>
  4475.                                         </xsl:if>
  4476.                                         <xsl:if test="$cPerformers = 1">
  4477.                                             <xsl:call-template name="templ_str_PerformerShortCap"/>
  4478.                                         </xsl:if>
  4479.                                         <xsl:call-template name="templ_prop_Space"/>
  4480.                                         <xsl:call-template name="appendField_Dot">
  4481.                                             <xsl:with-param name="field" select="$performer"/>
  4482.                                         </xsl:call-template>
  4483.                                     </xsl:if>
  4484.                                 </xsl:variable>
  4485.  
  4486.                                 <xsl:variable name="sufixEditorLFDot">
  4487.                                     <xsl:if test="string-length($editorLF)>0">
  4488.                                         <xsl:value-of select="$editorLF"/>
  4489.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4490.                                         <xsl:if test="$cEditors > 1">
  4491.                                             <xsl:call-template name="templ_str_EditorsShortUnCap"/>
  4492.                                         </xsl:if>
  4493.                                         <xsl:if test="$cEditors = 1">
  4494.                                             <xsl:call-template name="templ_str_EditorShortUnCap"/>
  4495.                                         </xsl:if>
  4496.                                     </xsl:if>
  4497.                                 </xsl:variable>
  4498.  
  4499.  
  4500.                                 <xsl:variable name="prefixConductorDot">
  4501.                                     <xsl:if test="string-length($conductor)>0">
  4502.                                         <xsl:if test="$cConductors > 1">
  4503.                                             <xsl:call-template name="templ_str_ConductorsShortUnCap"/>
  4504.                                         </xsl:if>
  4505.                                         <xsl:if test="$cConductors = 1">
  4506.                                             <xsl:call-template name="templ_str_ConductorShortUnCap"/>
  4507.                                         </xsl:if>
  4508.                                         <xsl:call-template name="templ_prop_Space"/>
  4509.                                         <xsl:call-template name="appendField_Dot">
  4510.                                             <xsl:with-param name="field" select="$conductor"/>
  4511.                                         </xsl:call-template>
  4512.                                     </xsl:if>
  4513.                                 </xsl:variable>
  4514.  
  4515.                                 <xsl:variable name="prefixComposerDot">
  4516.                                     <xsl:if test="string-length($composer)>0">
  4517.                                         <xsl:if test="$cComposers > 1">
  4518.                                             <xsl:call-template name="templ_str_ComposersShortCap"/>
  4519.                                         </xsl:if>
  4520.                                         <xsl:if test="$cComposers = 1">
  4521.                                             <xsl:call-template name="templ_str_ComposerShortCap"/>
  4522.                                         </xsl:if>
  4523.                                         <xsl:call-template name="templ_prop_Space"/>
  4524.                                         <xsl:call-template name="appendField_Dot">
  4525.                                             <xsl:with-param name="field" select="$composer"/>
  4526.                                         </xsl:call-template>
  4527.                                     </xsl:if>
  4528.                                 </xsl:variable>
  4529.  
  4530.                                 <xsl:variable name="prefixCompilerDot">
  4531.                                     <xsl:if test="string-length($compiler)>0">
  4532.                                         <xsl:if test="$cCompilers > 1">
  4533.                                             <xsl:call-template name="templ_str_CompilersShortCap"/>
  4534.                                         </xsl:if>
  4535.                                         <xsl:if test="$cCompilers = 1">
  4536.                                             <xsl:call-template name="templ_str_CompilerShortCap"/>
  4537.                                         </xsl:if>
  4538.                                         <xsl:call-template name="templ_prop_Space"/>
  4539.                                         <xsl:call-template name="appendField_Dot">
  4540.                                             <xsl:with-param name="field" select="$compiler"/>
  4541.                                         </xsl:call-template>
  4542.                                     </xsl:if>
  4543.                                 </xsl:variable>
  4544.  
  4545.                                 <xsl:variable name="sufixCompilerLFDot">
  4546.                                     <xsl:if test="string-length($compilerLF)>0">
  4547.                                         <xsl:value-of select="$compilerLF"/>
  4548.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4549.                                         <xsl:if test="$cCompilers > 1">
  4550.                                             <xsl:call-template name="templ_str_CompilersShortUnCap"/>
  4551.                                         </xsl:if>
  4552.                                         <xsl:if test="$cCompilers = 1">
  4553.                                             <xsl:call-template name="templ_str_CompilerShortUnCap"/>
  4554.                                         </xsl:if>
  4555.                                     </xsl:if>
  4556.                                 </xsl:variable>
  4557.  
  4558.                             <xsl:variable name="prop_APA_Hyphens">
  4559.                               <xsl:call-template name="templ_prop_Hyphens"/>
  4560.                             </xsl:variable>
  4561.  
  4562.                                 <xsl:variable name="prefixVolumeDot">
  4563.                                     <xsl:if test="string-length($volume)>0">
  4564.                                         <xsl:call-template name="appendField_Dot">
  4565.                                           <xsl:with-param name="field">
  4566.                                             <xsl:call-template name="StringFormat">
  4567.                                                 <xsl:with-param name="format">
  4568.                                                   <xsl:choose>
  4569.                                                     <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4570.                                                       <xsl:call-template name="templ_str_VolumesShortCap"/>
  4571.                                                     </xsl:when>
  4572.                                                     <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4573.                                                       <xsl:call-template name="templ_str_VolumeShortCap"/>
  4574.                                                     </xsl:when>
  4575.                                                     <xsl:otherwise>
  4576.                                                       <xsl:call-template name="templ_str_VolumesShortCap"/>
  4577.                                                     </xsl:otherwise>
  4578.                                                   </xsl:choose>
  4579.                                                 </xsl:with-param>
  4580.                                                 <xsl:with-param name="parameters">
  4581.                                                     <t:params>
  4582.                                                         <t:param>
  4583.                                                             <xsl:value-of select="$volume"/>
  4584.                                                         </t:param>
  4585.                                                     </t:params>
  4586.                                                 </xsl:with-param>
  4587.                                             </xsl:call-template>    
  4588.                                           </xsl:with-param>
  4589.                                         </xsl:call-template>
  4590.                                     </xsl:if>
  4591.                                 </xsl:variable>
  4592.  
  4593.                                 <xsl:variable name="noVolumesSufDot">
  4594.                                     <xsl:if test="string-length(b:NumberVolumes) > 0">
  4595.                                         <xsl:call-template name="appendField_Dot">
  4596.                                             <xsl:with-param name="field">
  4597.                                                 <xsl:call-template name="StringFormat">
  4598.                                                     <xsl:with-param name="format">
  4599.                                                         <xsl:call-template name="templ_str_VolumesAfterShortUnCap"/>
  4600.                                                     </xsl:with-param>
  4601.                                                     <xsl:with-param name="parameters">
  4602.                                                         <t:params>
  4603.                                                             <t:param>
  4604.                                                                 <xsl:value-of select="b:NumberVolumes"/>
  4605.                                                             </t:param>
  4606.                                                         </t:params>
  4607.                                                     </xsl:with-param>
  4608.                                                 </xsl:call-template>
  4609.                                             </xsl:with-param>
  4610.                                         </xsl:call-template>
  4611.                                     </xsl:if>
  4612.                                 </xsl:variable>
  4613.                                 
  4614.  
  4615.                                 <xsl:variable name="sufixTranslatorLFDot">
  4616.                                     <xsl:if test="string-length($translatorLF)>0">
  4617.                                         <xsl:value-of select="$translatorLF"/>
  4618.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4619.                                         <xsl:if test="$cTranslators > 1">
  4620.                                             <xsl:call-template name="templ_str_TranslatorsShortUnCap"/>
  4621.                                         </xsl:if>
  4622.                                         <xsl:if test="$cTranslators = 1">
  4623.                                             <xsl:call-template name="templ_str_TranslatorShortUnCap"/>
  4624.                                         </xsl:if>
  4625.                                     </xsl:if>
  4626.                                 </xsl:variable>
  4627.  
  4628.                 <xsl:variable name="str_NumberShortCap">
  4629.                   <xsl:call-template name="templ_str_NumberShortCap"/>
  4630.                 </xsl:variable>
  4631.  
  4632.                 <xsl:variable name="prefixCaseNoDot">
  4633.                                     <xsl:if test="string-length($caseNumber)>0">
  4634.                                     
  4635.                                         <xsl:call-template name="StringFormatDot">
  4636.                                               <xsl:with-param name="format" select="$str_NumberShortCap"/>
  4637.                                             
  4638.                                               <xsl:with-param name="parameters">
  4639.                                                   <t:params>
  4640.                                                       <t:param>
  4641.                                                         <xsl:value-of select="$caseNumber"/>
  4642.                                                     </t:param>
  4643.                                                   </t:params>
  4644.                                               </xsl:with-param>
  4645.                                         </xsl:call-template>
  4646.                                     </xsl:if>
  4647.                                 </xsl:variable>
  4648.  
  4649.                                 <xsl:variable name="existProd">
  4650.                                     <xsl:if test="string-length(normalize-space($producerName))>0">
  4651.                                             <xsl:text>N</xsl:text>
  4652.                                     </xsl:if>
  4653.                                     <xsl:if test="string-length(normalize-space(b:ProductionCompany))">
  4654.                                             <xsl:text>C</xsl:text>
  4655.                                     </xsl:if>
  4656.                                 </xsl:variable>
  4657.  
  4658.                                 <xsl:variable name="prodDot">
  4659.                                     <xsl:if test="string-length($producerName)>0">
  4660.                                         <xsl:call-template name="appendField_Dot">
  4661.                                             <xsl:with-param name="field" select="$producerName"/>
  4662.                                         </xsl:call-template>
  4663.                                     </xsl:if>
  4664.  
  4665.                                     <xsl:if test="string-length($producerName)=0 and string-length($productionCompany)">
  4666.                                         <xsl:call-template name="appendField_Dot">
  4667.                                             <xsl:with-param name="field" select="$productionCompany"/>
  4668.                                         </xsl:call-template>
  4669.                                     </xsl:if>
  4670.                                 </xsl:variable>
  4671.  
  4672.  
  4673.                                 <xsl:variable name="prefixProdDot">
  4674.                                     <xsl:if test="string-length($producerName)>0 or string-length($productionCompany)>0">
  4675.                                         <xsl:if test="$cProducers > 1">
  4676.                                             <xsl:call-template name="templ_str_ProducersShortCap"/>
  4677.                                             <xsl:call-template name="templ_prop_Space"/>
  4678.                                         </xsl:if>
  4679.                                         <xsl:if test="$cProducers = 1">
  4680.                                             <xsl:call-template name="templ_str_ProducerShortCap"/>
  4681.                                             <xsl:call-template name="templ_prop_Space"/>
  4682.                                         </xsl:if>
  4683.  
  4684.                                         <xsl:value-of select="$prodDot"/>
  4685.                                     </xsl:if>
  4686.                                 </xsl:variable>
  4687.  
  4688.                                 <xsl:variable name="producerNameDot">
  4689.                                     <xsl:call-template name="appendField_Dot">
  4690.                                         <xsl:with-param name="field" select="$producerName"/>
  4691.                                     </xsl:call-template>
  4692.                                 </xsl:variable>
  4693.  
  4694.                                 <xsl:variable name="tempProdPr">
  4695.                                     <xsl:if test="string-length($producerName)>0">
  4696.                                         <xsl:call-template name="templ_str_ProducerShortCap"/>
  4697.                                         <xsl:call-template name="templ_prop_Space"/>
  4698.                                         <xsl:value-of select="$producerNameDot"/>
  4699.                                     </xsl:if>
  4700.                                 </xsl:variable>
  4701.  
  4702.  
  4703.  
  4704.  
  4705.                                 <xsl:variable name="authorDot">
  4706.                                     <xsl:call-template name="appendField_Dot">
  4707.                                         <xsl:with-param name="field" select="$author"/>
  4708.                                     </xsl:call-template>
  4709.                                 </xsl:variable>
  4710.  
  4711.                                 <xsl:variable name="sectionAuthorDot">
  4712.                                     <xsl:call-template name="appendField_Dot">
  4713.                                         <xsl:with-param name="field" select="$sectionAuthor"/>
  4714.                                     </xsl:call-template>
  4715.                                 </xsl:variable>
  4716.  
  4717.                                 <xsl:variable name="bookAuthorDot">
  4718.                                     <xsl:call-template name="appendField_Dot">
  4719.                                         <xsl:with-param name="field" select="$bookAuthor"/>
  4720.                                     </xsl:call-template>
  4721.                                 </xsl:variable>
  4722.  
  4723.                                 <xsl:variable name="performerLFDot">
  4724.                                     <xsl:call-template name="appendField_Dot">
  4725.                                         <xsl:with-param name="field" select="$performerLF"/>
  4726.                                     </xsl:call-template>
  4727.                                 </xsl:variable>
  4728.  
  4729.                                 <xsl:variable name="artistDot">
  4730.                                     <xsl:call-template name="appendField_Dot">
  4731.                                         <xsl:with-param name="field" select="$artist"/>
  4732.                                     </xsl:call-template>
  4733.                                 </xsl:variable>
  4734.  
  4735.                                 <xsl:variable name="interviewerDot">
  4736.                                     <xsl:call-template name="appendField_Dot">
  4737.                                         <xsl:with-param name="field" select="$interviewer"/>
  4738.                                     </xsl:call-template>
  4739.                                 </xsl:variable>
  4740.  
  4741.                                 <xsl:variable name="intervieweeLFDot">
  4742.                                     <xsl:call-template name="appendField_Dot">
  4743.                                         <xsl:with-param name="field" select="$intervieweeLF"/>
  4744.                                     </xsl:call-template>
  4745.                                 </xsl:variable>
  4746.  
  4747.                                 <xsl:variable name="conductorLFDot">
  4748.                                     <xsl:call-template name="appendField_Dot">
  4749.                                         <xsl:with-param name="field" select="$conductorLF"/>
  4750.                                     </xsl:call-template>
  4751.                                 </xsl:variable>
  4752.  
  4753.                                 <xsl:variable name="inventorLFDot">
  4754.                                     <xsl:call-template name="appendField_Dot">
  4755.                                         <xsl:with-param name="field" select="$inventorLF"/>
  4756.                                     </xsl:call-template>
  4757.                                 </xsl:variable>
  4758.  
  4759.                                 <xsl:variable name="writerDot">
  4760.                                     <xsl:call-template name="appendField_Dot">
  4761.                                         <xsl:with-param name="field" select="$writer"/>
  4762.                                     </xsl:call-template>
  4763.                                 </xsl:variable>
  4764.  
  4765.                                 <xsl:variable name="composerLFDot">
  4766.                                     <xsl:call-template name="appendField_Dot">
  4767.                                         <xsl:with-param name="field" select="$composerLF"/>
  4768.                                     </xsl:call-template>
  4769.                                 </xsl:variable>
  4770.  
  4771.  
  4772.  
  4773.  
  4774.  
  4775.  
  4776.  
  4777.                                 <xsl:choose>
  4778.                                     <xsl:when test="b:SourceType='Book'">
  4779.                                         <xsl:choose>
  4780.  
  4781.                                         
  4782.                                             <xsl:when test="string-length($editor)>0 and string-length($author)=0">
  4783.                                             
  4784.                                                 <xsl:if test="string-length($sufixEditorLFDot)>0">
  4785.                                                     <xsl:value-of select="$sufixEditorLFDot"/>
  4786.                                                 </xsl:if>
  4787.                                                 
  4788.                                                 <xsl:if test="string-length($titleDot)>0">
  4789.  
  4790.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0">
  4791.                                                         <xsl:call-template name="templ_prop_Space"/>
  4792.                                                     </xsl:if>
  4793.  
  4794.                                                     <u>
  4795.                                                     <xsl:value-of select="$titleDot"/>
  4796.                                                     </u>
  4797.                                                 </xsl:if>
  4798.  
  4799.  
  4800.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  4801.  
  4802.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0">
  4803.                                                         <xsl:call-template name="templ_prop_Space"/>
  4804.                                                     </xsl:if>
  4805.                                                 
  4806.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  4807.                                                 </xsl:if>
  4808.  
  4809.                                                 <xsl:if test="string-length($editionDot)>0">
  4810.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixTranslatorDot)>0">
  4811.                                                         <xsl:call-template name="templ_prop_Space"/>
  4812.                                                     </xsl:if>
  4813.  
  4814.                                                     <xsl:value-of select="$editionDot"/>
  4815.                                                 </xsl:if>
  4816.  
  4817.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4818.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0">
  4819.                                                         <xsl:call-template name="templ_prop_Space"/>
  4820.                                                     </xsl:if>
  4821.  
  4822.                                                     <xsl:if test = "string-length($prefixVolumeDot)>0">
  4823.                                                         <xsl:value-of select="$prefixVolumeDot"/>
  4824.                                                     </xsl:if>
  4825.                                                     <xsl:if test = "string-length($prefixVolumeDot)=0">
  4826.                                                         <xsl:value-of select="$noVolumesSufDot"/>
  4827.                                                     </xsl:if>
  4828.                                                 </xsl:if>
  4829.  
  4830.                                                 <xsl:if test="string-length($tempCPY)>0">
  4831.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4832.                                                         <xsl:call-template name="templ_prop_Space"/>
  4833.                                                     </xsl:if>
  4834.  
  4835.                                                     <xsl:value-of select="$tempCPY"/>
  4836.                                                 </xsl:if>
  4837.  
  4838.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 and string-length($noVolumesSufDot)>0">
  4839.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0 or string-length($tempCPY)>0">
  4840.                                                         <xsl:call-template name="templ_prop_Space"/>
  4841.                                                     </xsl:if>
  4842.  
  4843.                                                     <xsl:value-of select="$noVolumesSufDot"/>
  4844.                                                 </xsl:if>
  4845.                                             </xsl:when>
  4846.  
  4847.  
  4848.  
  4849.                                         
  4850.                                             <xsl:when test="string-length($translator)>0 and string-length($author)=0">
  4851.                                             
  4852.                                                 <xsl:if test="string-length($sufixTranslatorLFDot)>0">
  4853.                                                     <xsl:value-of select="$sufixTranslatorLFDot"/>
  4854.                                                 </xsl:if>
  4855.                                                 
  4856.                                                 <xsl:if test="string-length($titleDot)>0">
  4857.                                                     <xsl:if test="string-length($sufixTranslatorLFDot)>0">
  4858.                                                         <xsl:call-template name="templ_prop_Space"/>
  4859.                                                     </xsl:if>
  4860.  
  4861.                                                     <u>
  4862.                                                     <xsl:value-of select="$titleDot"/>
  4863.                                                     </u>
  4864.                                                 </xsl:if>
  4865.  
  4866.                                                 <xsl:if test="string-length($editionDot)>0">
  4867.                                                     <xsl:if test="string-length($sufixTranslatorLFDot)>0 or string-length($titleDot)>0">
  4868.                                                         <xsl:call-template name="templ_prop_Space"/>
  4869.                                                     </xsl:if>
  4870.  
  4871.                                                     <xsl:value-of select="$editionDot"/>
  4872.                                                 </xsl:if>
  4873.  
  4874.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4875.                                                     <xsl:if test="string-length($sufixTranslatorLFDot)>0 or string-length($titleDot)>0 or string-length($editionDot)>0">
  4876.                                                         <xsl:call-template name="templ_prop_Space"/>
  4877.                                                     </xsl:if>
  4878.  
  4879.                                                     <xsl:if test = "string-length($prefixVolumeDot)>0">
  4880.                                                         <xsl:value-of select="$prefixVolumeDot"/>
  4881.                                                     </xsl:if>
  4882.                                                     <xsl:if test = "string-length($prefixVolumeDot)=0">
  4883.                                                         <xsl:value-of select="$noVolumesSufDot"/>
  4884.                                                     </xsl:if>
  4885.                                                 </xsl:if>
  4886.                                                 
  4887.                                                 <xsl:if test="string-length($tempCPY)>0">
  4888.                                                     <xsl:if test="string-length($sufixTranslatorLFDot)>0 or string-length($titleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4889.                                                         <xsl:call-template name="templ_prop_Space"/>
  4890.                                                     </xsl:if>
  4891.                                                     
  4892.                                                     <xsl:value-of select="$tempCPY"/>
  4893.                                                 </xsl:if>
  4894.  
  4895.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 and string-length($noVolumesSufDot)>0">
  4896.                                                     <xsl:if test="string-length($sufixTranslatorLFDot)>0 or string-length($titleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0 or string-length($tempCPY)>0">
  4897.                                                         <xsl:call-template name="templ_prop_Space"/>
  4898.                                                     </xsl:if>
  4899.  
  4900.                                                     <xsl:value-of select="$noVolumesSufDot"/>
  4901.                                                 </xsl:if>
  4902.  
  4903.                                             </xsl:when>
  4904.                                         
  4905.                                             <xsl:otherwise>
  4906.                                             
  4907.                                             
  4908.                                                 <xsl:if test="string-length($authorDot)>0">
  4909.                                                     <xsl:value-of select="$authorDot"/>
  4910.                                                 </xsl:if>
  4911.  
  4912.                                                 <xsl:if test="string-length($titleDot)>0">
  4913.                                                     <xsl:if test="string-length($authorDot)>0">
  4914.                                                         <xsl:call-template name="templ_prop_Space"/>
  4915.                                                     </xsl:if>
  4916.  
  4917.                                                     <u>
  4918.                                                     <xsl:value-of select="$titleDot"/>
  4919.                                                     </u>
  4920.                                                 </xsl:if>
  4921.  
  4922.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  4923.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  4924.                                                         <xsl:call-template name="templ_prop_Space"/>
  4925.                                                     </xsl:if>
  4926.                                                     <xsl:value-of select="$prefixEditorDot"/>
  4927.                                                 </xsl:if>
  4928.  
  4929.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  4930.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0">
  4931.                                                         <xsl:call-template name="templ_prop_Space"/>
  4932.                                                     </xsl:if>
  4933.  
  4934.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  4935.                                                 </xsl:if>
  4936.  
  4937.                                                 <xsl:if test="string-length($editionDot)>0">
  4938.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0">
  4939.                                                         <xsl:call-template name="templ_prop_Space"/>
  4940.                                                     </xsl:if>
  4941.  
  4942.                                                     <xsl:value-of select="$editionDot"/>
  4943.                                                 </xsl:if>
  4944.  
  4945.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4946.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0">
  4947.                                                         <xsl:call-template name="templ_prop_Space"/>
  4948.                                                     </xsl:if>
  4949.  
  4950.                                                     <xsl:if test = "string-length($prefixVolumeDot)>0">
  4951.                                                         <xsl:value-of select="$prefixVolumeDot"/>
  4952.                                                     </xsl:if>
  4953.                                                     <xsl:if test = "string-length($prefixVolumeDot)=0">
  4954.                                                         <xsl:value-of select="$noVolumesSufDot"/>
  4955.                                                     </xsl:if>
  4956.                                                 </xsl:if>
  4957.  
  4958.                                                 <xsl:if test="string-length($tempCPY)>0">
  4959.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4960.                                                         <xsl:call-template name="templ_prop_Space"/>
  4961.                                                     </xsl:if>
  4962.  
  4963.                                                     <xsl:value-of select="$tempCPY"/>
  4964.                                                 </xsl:if>
  4965.  
  4966.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 and string-length($noVolumesSufDot)>0">
  4967.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0 or string-length($tempCPY)>0">
  4968.                                                         <xsl:call-template name="templ_prop_Space"/>
  4969.                                                     </xsl:if>
  4970.  
  4971.                                                     <xsl:value-of select="$noVolumesSufDot"/>
  4972.                                                 </xsl:if>
  4973.  
  4974.                                             </xsl:otherwise>
  4975.  
  4976.  
  4977.                                         </xsl:choose>
  4978.                                     </xsl:when>
  4979.                                     
  4980.                                     
  4981.                                     
  4982.                                     <xsl:when test="b:SourceType='BookSection'">
  4983.  
  4984.  
  4985.                                                 <xsl:if test="string-length($sectionAuthorDot)>0">
  4986.                                                     <xsl:value-of select="$sectionAuthorDot"/>
  4987.                                                 </xsl:if>
  4988.  
  4989.  
  4990.                                                 
  4991.                                                 <xsl:if test="string-length($titleDot)>0">
  4992.  
  4993.                                                     <xsl:if test="string-length($sectionAuthorDot)>0">
  4994.                                                         <xsl:call-template name="templ_prop_Space"/>
  4995.                                                     </xsl:if>
  4996.  
  4997.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  4998.                                                     
  4999.                                                     <xsl:value-of select="$titleDot"/>
  5000.                                                     
  5001.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5002.                                                 </xsl:if>
  5003.  
  5004.  
  5005.                                                 <xsl:if test="string-length($bookAuthorDot)>0">
  5006.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0">
  5007.                                                         <xsl:call-template name="templ_prop_Space"/>
  5008.                                                     </xsl:if>
  5009.  
  5010.                                                     <xsl:value-of select="$bookAuthorDot"/>
  5011.                                                 </xsl:if>
  5012.  
  5013.                                                 <xsl:if test="string-length($bookTitleDot)>0">
  5014.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0">
  5015.                                                         <xsl:call-template name="templ_prop_Space"/>
  5016.                                                     </xsl:if>
  5017.  
  5018.                                                     <u>
  5019.                                                     <xsl:value-of select="$bookTitleDot"/>
  5020.                                                     </u>
  5021.                                                 </xsl:if>
  5022.  
  5023.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5024.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0">
  5025.                                                         <xsl:call-template name="templ_prop_Space"/>
  5026.                                                     </xsl:if>
  5027.  
  5028.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5029.                                                 </xsl:if>
  5030.  
  5031.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  5032.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0">
  5033.                                                         <xsl:call-template name="templ_prop_Space"/>
  5034.                                                     </xsl:if>
  5035.  
  5036.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  5037.                                                 </xsl:if>
  5038.  
  5039.                                                 <xsl:if test="string-length($editionDot)>0">
  5040.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0">
  5041.                                                         <xsl:call-template name="templ_prop_Space"/>
  5042.                                                     </xsl:if>
  5043.  
  5044.                                                     <xsl:value-of select="$editionDot"/>
  5045.                                                 </xsl:if>
  5046.  
  5047.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  5048.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0">
  5049.                                                         <xsl:call-template name="templ_prop_Space"/>
  5050.                                                     </xsl:if>
  5051.  
  5052.                                                     <xsl:if test = "string-length($prefixVolumeDot)>0">
  5053.                                                         <xsl:value-of select="$prefixVolumeDot"/>
  5054.                                                     </xsl:if>
  5055.                                                     <xsl:if test = "string-length($prefixVolumeDot)=0">
  5056.                                                         <xsl:value-of select="$noVolumesSufDot"/>
  5057.                                                     </xsl:if>
  5058.                                                 </xsl:if>
  5059.  
  5060.                                                 <xsl:if test="string-length($tempCPY)>0">
  5061.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  5062.                                                         <xsl:call-template name="templ_prop_Space"/>
  5063.                                                     </xsl:if>
  5064.  
  5065.                                                     <xsl:value-of select="$tempCPY"/>
  5066.                                                 </xsl:if>
  5067.  
  5068.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 and string-length($noVolumesSufDot)>0">
  5069.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0 or string-length($tempCPY)>0">
  5070.                                                         <xsl:call-template name="templ_prop_Space"/>
  5071.                                                     </xsl:if>
  5072.  
  5073.                                                     <xsl:value-of select="$noVolumesSufDot"/>
  5074.                                                 </xsl:if>
  5075.  
  5076.                                                 <xsl:if test="string-length($pagesDot)>0">
  5077.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0 or string-length($tempCPY)>0">
  5078.                                                         <xsl:call-template name="templ_prop_Space"/>
  5079.                                                     </xsl:if>
  5080.  
  5081.                                                     <xsl:value-of select="$pagesDot"/>
  5082.                                                 </xsl:if>
  5083.  
  5084.                                     </xsl:when>
  5085.                                     
  5086.  
  5087.                                     <xsl:when test="b:SourceType='JournalArticle'">
  5088.  
  5089.                                                 <xsl:if test="string-length($authorDot)>0">
  5090.                                                     <xsl:value-of select="$authorDot"/>
  5091.                                                 </xsl:if>
  5092.  
  5093.                                                 <xsl:if test="string-length($titleDot)>0">
  5094.                                                     <xsl:if test="string-length($authorDot)>0">
  5095.                                                         <xsl:call-template name="templ_prop_Space"/>
  5096.                                                     </xsl:if>
  5097.  
  5098.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5099.                                                     
  5100.                                                     <xsl:value-of select="$titleDot"/>
  5101.                                                     
  5102.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5103.                                                 </xsl:if>
  5104.  
  5105.                                                 <xsl:if test="string-length($journalName)>0">
  5106.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5107.                                                         <xsl:call-template name="templ_prop_Space"/>
  5108.                                                     </xsl:if>
  5109.  
  5110.                                                     <u>
  5111.                                                     <xsl:value-of select="$journalName"/>
  5112.                                                     </u>
  5113.                                                 </xsl:if>
  5114.                                             
  5115.                                                 <xsl:if test="string-length($tempVIYP)>0">
  5116.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($journalName)>0">
  5117.                                                         <xsl:call-template name="templ_prop_Space"/>
  5118.                                                     </xsl:if>
  5119.  
  5120.                                                     <xsl:value-of select="$tempVIYP"/>
  5121.                                                 </xsl:if>
  5122.                                                 
  5123.                                     </xsl:when>
  5124.  
  5125.  
  5126.  
  5127.  
  5128.                                     <xsl:when test="b:SourceType='ConferenceProceedings'">
  5129.  
  5130.                                         <xsl:choose>
  5131.                                         
  5132.                                             <xsl:when test="string-length($editor)>0 and string-length($author)=0">
  5133.                                             
  5134.                                                 <xsl:if test="string-length($sufixEditorLFDot)>0">
  5135.                                                     <xsl:value-of select="$sufixEditorLFDot"/>
  5136.                                                 </xsl:if>
  5137.  
  5138.                                                 <xsl:if test="string-length($titleDot)>0">
  5139.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0">
  5140.                                                         <xsl:call-template name="templ_prop_Space"/>
  5141.                                                     </xsl:if>
  5142.                                                     
  5143.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5144.                                                     
  5145.                                                     <xsl:value-of select="$titleDot"/>
  5146.                                                     
  5147.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5148.                                                 </xsl:if>
  5149.  
  5150.                                                 <xsl:if test="string-length($conferenceNameDot)>0">
  5151.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0">
  5152.                                                         <xsl:call-template name="templ_prop_Space"/>
  5153.                                                     </xsl:if>
  5154.                                                     
  5155.                                                     <u>
  5156.                                                     <xsl:value-of select="$conferenceNameDot"/>
  5157.                                                     </u>
  5158.                                                 </xsl:if>
  5159.  
  5160.                                                 <xsl:if test="string-length($tempCPY)>0">
  5161.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0">
  5162.                                                         <xsl:call-template name="templ_prop_Space"/>
  5163.                                                     </xsl:if>
  5164.                                                     
  5165.                                                     <xsl:value-of select="$tempCPY"/>
  5166.                                                 </xsl:if>
  5167.  
  5168.                                                 
  5169.                                                 <xsl:if test="string-length($pagesDot)>0">
  5170.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0 or string-length($tempCPY)>0">
  5171.                                                         <xsl:call-template name="templ_prop_Space"/>
  5172.                                                     </xsl:if>
  5173.  
  5174.                                                     <xsl:value-of select="$pagesDot"/>
  5175.                                                 </xsl:if>
  5176.  
  5177.  
  5178.                                             </xsl:when>
  5179.  
  5180.  
  5181.                                         
  5182.                                             <xsl:otherwise>
  5183.  
  5184.                                                 <xsl:if test="string-length($authorDot)>0">
  5185.                                                     <xsl:value-of select="$authorDot"/>
  5186.                                                 </xsl:if>
  5187.  
  5188.                                                 <xsl:if test="string-length($titleDot)>0">
  5189.                                                     <xsl:if test="string-length($authorDot)>0">
  5190.                                                         <xsl:call-template name="templ_prop_Space"/>
  5191.                                                     </xsl:if>
  5192.  
  5193.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5194.                                                     
  5195.                                                     <xsl:value-of select="$titleDot"/>
  5196.                                                     
  5197.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5198.                                                 </xsl:if>
  5199.  
  5200.                                                 <xsl:if test="string-length($conferenceNameDot)>0">
  5201.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5202.                                                         <xsl:call-template name="templ_prop_Space"/>
  5203.                                                     </xsl:if>
  5204.  
  5205.                                                     <u>
  5206.                                                     <xsl:value-of select="$conferenceNameDot"/>
  5207.                                                     </u>
  5208.                                                 </xsl:if>
  5209.  
  5210.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5211.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0">
  5212.                                                         <xsl:call-template name="templ_prop_Space"/>
  5213.                                                     </xsl:if>
  5214.  
  5215.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5216.                                                 </xsl:if>
  5217.  
  5218.                                                 <xsl:if test="string-length($tempCPY)>0">
  5219.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0 or string-length($prefixEditorDot)>0">
  5220.                                                         <xsl:call-template name="templ_prop_Space"/>
  5221.                                                     </xsl:if>
  5222.  
  5223.                                                     <xsl:value-of select="$tempCPY"/>
  5224.                                                 </xsl:if>
  5225.                                                 
  5226.                                                 <xsl:if test="string-length($pagesDot)>0">
  5227.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0 or string-length($prefixEditorDot)>0 or string-length($tempCPY)>0">
  5228.                                                         <xsl:call-template name="templ_prop_Space"/>
  5229.                                                     </xsl:if>
  5230.  
  5231.                                                     <xsl:value-of select="$pagesDot"/>
  5232.                                                 </xsl:if>
  5233.  
  5234.                                             </xsl:otherwise>
  5235.  
  5236.                                         </xsl:choose>
  5237.  
  5238.                                     </xsl:when>
  5239.  
  5240.  
  5241.  
  5242.                                     <xsl:when test="b:SourceType='Report'">
  5243.  
  5244.                                         <xsl:choose>
  5245.                                         
  5246.                                             <xsl:when test="string-length($cityDot)>0">
  5247.  
  5248.  
  5249.                                                 <xsl:if test="string-length($authorDot)>0">
  5250.                                                     <xsl:value-of select="$authorDot"/>
  5251.                                                 </xsl:if>
  5252.  
  5253.                                                 <xsl:if test="string-length($titleDot)>0">
  5254.                                                     <xsl:if test="string-length($authorDot)>0">
  5255.                                                         <xsl:call-template name="templ_prop_Space"/>
  5256.                                                     </xsl:if>
  5257.  
  5258.                                                     <u>
  5259.                                                     <xsl:value-of select="$titleDot"/>
  5260.                                                     </u>
  5261.                                                 </xsl:if>
  5262.  
  5263.                                                 <xsl:if test="string-length($thesisTypeDot)>0">
  5264.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5265.                                                         <xsl:call-template name="templ_prop_Space"/>
  5266.                                                     </xsl:if>
  5267.  
  5268.                                                     <xsl:value-of select="$thesisTypeDot"/>
  5269.                                                 </xsl:if>
  5270.  
  5271.                                                 <xsl:if test="string-length($institutionDot)>0">
  5272.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($thesisTypeDot)>0">
  5273.                                                         <xsl:call-template name="templ_prop_Space"/>
  5274.                                                     </xsl:if>
  5275.  
  5276.                                                     <xsl:value-of select="$institutionDot"/>
  5277.                                                 </xsl:if>
  5278.  
  5279.                                                 <xsl:if test="string-length($tempCPY)>0">
  5280.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($thesisTypeDot)>0 or string-length($institutionDot)>0">
  5281.                                                         <xsl:call-template name="templ_prop_Space"/>
  5282.                                                     </xsl:if>
  5283.  
  5284.                                                     <xsl:value-of select="$tempCPY"/>
  5285.                                                 </xsl:if>
  5286.  
  5287.                                             </xsl:when>
  5288.  
  5289.  
  5290.                                         
  5291.                                             <xsl:otherwise>
  5292.                                                 <xsl:if test="string-length($authorDot)>0">
  5293.                                                     <xsl:value-of select="$authorDot"/>
  5294.                                                 </xsl:if>
  5295.  
  5296.                                                 <xsl:if test="string-length($titleDot)>0">
  5297.                                                     <xsl:if test="string-length($authorDot)>0">
  5298.                                                         <xsl:call-template name="templ_prop_Space"/>
  5299.                                                     </xsl:if>
  5300.  
  5301.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5302.                                                     
  5303.                                                     <xsl:value-of select="$titleDot"/>
  5304.                                                     
  5305.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5306.                                                 </xsl:if>
  5307.                                             
  5308.                                                 <xsl:if test="string-length($thesisTypeDot)>0">
  5309.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5310.                                                         <xsl:call-template name="templ_prop_Space"/>
  5311.                                                     </xsl:if>
  5312.  
  5313.                                                     <xsl:value-of select="$thesisTypeDot"/>
  5314.                                                 </xsl:if>
  5315.                                                 
  5316.                                                 <xsl:if test="string-length($tempIY)>0">
  5317.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($thesisTypeDot)>0">
  5318.                                                         <xsl:call-template name="templ_prop_Space"/>
  5319.                                                     </xsl:if>
  5320.  
  5321.                                                     <xsl:value-of select="$tempIY"/>
  5322.                                                 </xsl:if>
  5323.  
  5324.                                             </xsl:otherwise>
  5325.  
  5326.  
  5327.                                         </xsl:choose>
  5328.                                     </xsl:when>
  5329.                                     
  5330.                                     
  5331.  
  5332.                                     <xsl:when test="b:SourceType='SoundRecording'">
  5333.                                         <xsl:choose>
  5334.                                         
  5335.                                             <xsl:when test="string-length($performerLF)>0">
  5336.  
  5337.                                                 <xsl:if test="string-length($performerLFDot)>0">
  5338.                                                     <xsl:value-of select="$performerLFDot"/>
  5339.                                                 </xsl:if>
  5340.  
  5341.                                                 <xsl:if test="string-length($titleDot)>0">
  5342.                                                     <xsl:if test="string-length($performerLFDot)>0">
  5343.                                                         <xsl:call-template name="templ_prop_Space"/>
  5344.                                                     </xsl:if>
  5345.  
  5346.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5347.                                                     <xsl:value-of select="$titleDot"/>
  5348.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5349.                                                 </xsl:if>
  5350.  
  5351.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  5352.                                                     <xsl:if test="string-length($performerLFDot)>0 or string-length($titleDot)>0">
  5353.                                                         <xsl:call-template name="templ_prop_Space"/>
  5354.                                                     </xsl:if>
  5355.  
  5356.                                                     <u>
  5357.                                                     <xsl:value-of select="$albumTitleDot"/>
  5358.                                                     </u>
  5359.                                                 </xsl:if>
  5360.  
  5361.                                                 <xsl:if test="string-length($prefixConductorDot)>0">
  5362.                                                     <xsl:if test="string-length($performerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0">
  5363.                                                         <xsl:call-template name="templ_prop_Space"/>
  5364.                                                     </xsl:if>
  5365.  
  5366.                                                     <xsl:value-of select="$prefixConductorDot"/>
  5367.                                                 </xsl:if>
  5368.  
  5369.                                                 <xsl:if test="string-length($prefixComposerDot)>0">
  5370.                                                     <xsl:if test="string-length($performerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($prefixConductorDot)>0">
  5371.                                                         <xsl:call-template name="templ_prop_Space"/>
  5372.                                                     </xsl:if>
  5373.  
  5374.                           <xsl:variable name="str_ByCap">
  5375.                             <xsl:call-template name="templ_str_ByCap"/>
  5376.                           </xsl:variable>
  5377.  
  5378.                             <xsl:call-template name="StringFormatDot">
  5379.                                                           <xsl:with-param name="format" select="$str_ByCap"/>
  5380.                                                           <xsl:with-param name="parameters">
  5381.                                                               <t:params>
  5382.                                                                   <t:param>
  5383.                                                                     <xsl:value-of select="$composer"/>
  5384.                                                                 </t:param>
  5385.                                                               </t:params>
  5386.                                                           </xsl:with-param>
  5387.                                                     </xsl:call-template>
  5388.                                                 </xsl:if>
  5389.  
  5390.                                                 <xsl:if test="string-length($tempProdPr)>0">
  5391.                                                     <xsl:if test="string-length($performerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($prefixConductorDot)>0 or string-length($prefixComposerDot)>0">
  5392.                                                         <xsl:call-template name="templ_prop_Space"/>
  5393.                                                     </xsl:if>
  5394.  
  5395.                                                         <xsl:value-of select="$tempProdPr"/>
  5396.                                                 </xsl:if>
  5397.                                                 
  5398.                                                 <xsl:if test="string-length($tempCPcY)>0">
  5399.                                                     <xsl:if test="string-length($performerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($prefixConductorDot)>0 or string-length($prefixComposerDot)>0 or string-length($tempProdPr)>0">
  5400.                                                         <xsl:call-template name="templ_prop_Space"/>
  5401.                                                     </xsl:if>
  5402.  
  5403.                                                     <xsl:value-of select="$tempCPcY"/>
  5404.                                                 </xsl:if>
  5405.                                                 
  5406.  
  5407.                                             </xsl:when>
  5408.  
  5409.                                         
  5410.                                             <xsl:when test="string-length($conductorLFDot)>0">
  5411.  
  5412.                                                 <xsl:if test="string-length($conductorLFDot)>0">
  5413.                                                     <xsl:value-of select="$conductorLFDot"/>
  5414.                                                 </xsl:if>
  5415.  
  5416.                                             
  5417.                                                 <xsl:if test="string-length($titleDot)>0">
  5418.                                                     <xsl:if test="string-length($conductorLFDot)>0">
  5419.                                                         <xsl:call-template name="templ_prop_Space"/>
  5420.                                                     </xsl:if>
  5421.  
  5422.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5423.                                                     <xsl:value-of select="$titleDot"/>
  5424.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5425.                                                 </xsl:if>
  5426.  
  5427.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  5428.                                                     <xsl:if test="string-length($conductorLFDot)>0 or string-length($titleDot)>0">
  5429.                                                         <xsl:call-template name="templ_prop_Space"/>
  5430.                                                     </xsl:if>
  5431.  
  5432.                                                     <u>
  5433.                                                     <xsl:value-of select="$albumTitleDot"/>
  5434.                                                     </u>
  5435.                                                 </xsl:if>
  5436.  
  5437.                                                 <xsl:if test="string-length($prefixComposerDot)>0">
  5438.                                                     <xsl:if test="string-length($conductorLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0">
  5439.                                                         <xsl:call-template name="templ_prop_Space"/>
  5440.                                                     </xsl:if>
  5441.  
  5442.                           <xsl:variable name="str_ByCap">
  5443.                             <xsl:call-template name="templ_str_ByCap"/>
  5444.                           </xsl:variable>
  5445.  
  5446.                           <xsl:call-template name="StringFormatDot">
  5447.                                                           <xsl:with-param name="format" select="$str_ByCap"/>
  5448.                                                           <xsl:with-param name="parameters">
  5449.                                                               <t:params>
  5450.                                                                   <t:param>
  5451.                                                                     <xsl:value-of select="$composer"/>
  5452.                                                                 </t:param>
  5453.                                                               </t:params>
  5454.                                                           </xsl:with-param>
  5455.                                                     </xsl:call-template>
  5456.                                                 </xsl:if>
  5457.  
  5458.                                                 <xsl:if test="string-length($tempProdPr)>0">
  5459.                                                     <xsl:if test="string-length($conductorLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($prefixComposerDot)>0">
  5460.                                                         <xsl:call-template name="templ_prop_Space"/>
  5461.                                                     </xsl:if>
  5462.  
  5463.                                                         <xsl:value-of select="$tempProdPr"/>
  5464.                                                 </xsl:if>
  5465.                                                 
  5466.                                                 <xsl:if test="string-length($tempCPcY)>0">
  5467.                                                     <xsl:if test="string-length($conductorLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($prefixComposerDot)>0 or string-length($tempProdPr)>0">
  5468.                                                         <xsl:call-template name="templ_prop_Space"/>
  5469.                                                     </xsl:if>
  5470.  
  5471.                                                     <xsl:value-of select="$tempCPcY"/>
  5472.                                                 </xsl:if>
  5473.  
  5474.                                             </xsl:when>
  5475.  
  5476.                                         
  5477.                                             <xsl:otherwise>
  5478.  
  5479.                         <xsl:if test="string-length($composerLFDot)>0">
  5480.                                                     <xsl:value-of select="$composerLFDot"/>
  5481.                                                 </xsl:if>
  5482.  
  5483.                                             
  5484.                                                 <xsl:if test="string-length($titleDot)>0">
  5485.                                                     <xsl:if test="string-length($composerLFDot)>0">
  5486.                                                         <xsl:call-template name="templ_prop_Space"/>
  5487.                                                     </xsl:if>
  5488.  
  5489.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5490.                                                     <xsl:value-of select="$titleDot"/>
  5491.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5492.                                                 </xsl:if>
  5493.  
  5494.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  5495.                                                     <xsl:if test="string-length($composerLFDot)>0 or string-length($titleDot)>0">
  5496.                                                         <xsl:call-template name="templ_prop_Space"/>
  5497.                                                     </xsl:if>
  5498.  
  5499.                                                     <u>
  5500.                                                     <xsl:value-of select="$albumTitleDot"/>
  5501.                                                     </u>
  5502.                                                 </xsl:if>
  5503.  
  5504.                                                 <xsl:if test="string-length($tempProdPr)>0">
  5505.                                                     <xsl:if test="string-length($composerLFDot)>0 or string-length($titleDot)>0">
  5506.                                                         <xsl:call-template name="templ_prop_Space"/>
  5507.                                                     </xsl:if>
  5508.  
  5509.                                                         <xsl:value-of select="$tempProdPr"/>
  5510.                                                 </xsl:if>
  5511.                                                 
  5512.                                                 <xsl:if test="string-length($tempCPcY)>0">
  5513.                                                     <xsl:if test="string-length($composerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($tempProdPr)>0">
  5514.                                                         <xsl:call-template name="templ_prop_Space"/>
  5515.                                                     </xsl:if>
  5516.  
  5517.                                                     <xsl:value-of select="$tempCPcY"/>
  5518.                                                 </xsl:if>
  5519.  
  5520.  
  5521.                                             </xsl:otherwise>
  5522.  
  5523.  
  5524.  
  5525.                                         </xsl:choose>
  5526.                                     </xsl:when>
  5527.  
  5528.  
  5529.                                     <xsl:when test="b:SourceType='Performance'">
  5530.  
  5531.  
  5532.  
  5533.  
  5534.                                                 <xsl:if test="string-length($titleDot)>0">
  5535.                                                         <u>
  5536.                                                         <xsl:value-of select="$titleDot"/>
  5537.                                                         </u>
  5538.                                                 </xsl:if>
  5539.  
  5540.  
  5541.                                                 <xsl:if test="string-length($writerDot)>0">
  5542.                                                     <xsl:if test="string-length($titleDot)>0">
  5543.                                                         <xsl:call-template name="templ_prop_Space"/>
  5544.                                                     </xsl:if>
  5545.                           <xsl:variable name="str_ByCap">
  5546.                             <xsl:call-template name="templ_str_ByCap"/>
  5547.                           </xsl:variable>
  5548.  
  5549.                           <xsl:call-template name="StringFormatDot">
  5550.                                                           <xsl:with-param name="format" select="$str_ByCap"/>
  5551.                                                           <xsl:with-param name="parameters">
  5552.                                                               <t:params>
  5553.                                                                   <t:param>
  5554.                                                                     <xsl:value-of select="$writer"/>
  5555.                                                                 </t:param>
  5556.                                                               </t:params>
  5557.                                                           </xsl:with-param>
  5558.                                                     </xsl:call-template>
  5559.                                                 </xsl:if>
  5560.  
  5561.                                                 <xsl:if test="string-length($prefixDirectorDot)>0">
  5562.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0">
  5563.                                                         <xsl:call-template name="templ_prop_Space"/>
  5564.                                                     </xsl:if>
  5565.  
  5566.                                                     <xsl:value-of select="$prefixDirectorDot"/>
  5567.                                                 </xsl:if>
  5568.  
  5569.                                                 <xsl:if test="string-length($prefixPerformerDot)>0">
  5570.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0">
  5571.                                                         <xsl:call-template name="templ_prop_Space"/>
  5572.                                                     </xsl:if>
  5573.  
  5574.                                                     <xsl:value-of select="$prefixPerformerDot"/>
  5575.                                                 </xsl:if>
  5576.  
  5577.                                                 <xsl:if test="string-length($tempTC)>0">
  5578.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0 or string-length($prefixPerformerDot)>0">
  5579.                                                         <xsl:call-template name="templ_prop_Space"/>
  5580.                                                     </xsl:if>
  5581.  
  5582.                                                     <xsl:value-of select="$tempTC"/>
  5583.                                                 </xsl:if>
  5584.  
  5585.  
  5586.                                                 <xsl:if test="string-length($dateDot)>0">
  5587.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0 or string-length($prefixPerformerDot)>0 or string-length($tempTC)>0">
  5588.                                                         <xsl:call-template name="templ_prop_Space"/>
  5589.                                                     </xsl:if>
  5590.  
  5591.                                                     <xsl:value-of select="$dateDot"/>
  5592.                                                 </xsl:if>
  5593.  
  5594.  
  5595.                                 </xsl:when>
  5596.  
  5597.  
  5598.                                     <xsl:when test="b:SourceType='Art'">
  5599.  
  5600.  
  5601.                                         <xsl:choose>
  5602.                                             
  5603.                                             <xsl:when test="string-length($publicationTitle)>0">
  5604.  
  5605.                                                 <xsl:if test="string-length($artistDot)>0">
  5606.                                                     <xsl:value-of select="normalize-space($artistDot)"/>
  5607.                                                 </xsl:if>
  5608.  
  5609.                                                 <xsl:if test="string-length($titleDot)>0">
  5610.                                                     <xsl:if test="string-length($artistDot)>0">
  5611.                                                         <xsl:call-template name="templ_prop_Space"/>
  5612.                                                     </xsl:if>
  5613.  
  5614.                                                     <u>
  5615.                                                     <xsl:value-of select="$titleDot"/>
  5616.                                                     </u>
  5617.                                                 </xsl:if>
  5618.  
  5619.                                                 <xsl:if test="string-length($institutionDot)>0">
  5620.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0">
  5621.                                                         <xsl:call-template name="templ_prop_Space"/>
  5622.                                                     </xsl:if>
  5623.  
  5624.                                                     <xsl:value-of select="$institutionDot"/>
  5625.                                                 </xsl:if>
  5626.  
  5627.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  5628.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($institutionDot)>0">
  5629.                                                         <xsl:call-template name="templ_prop_Space"/>
  5630.                                                     </xsl:if>
  5631.  
  5632.                                                     <u>
  5633.                                                     <xsl:value-of select="$publicationTitleDot"/>
  5634.                                                     </u>
  5635.                                                 </xsl:if>
  5636.  
  5637.                                                 <xsl:if test="string-length($tempCPY)>0">
  5638.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($institutionDot)>0 or string-length($publicationTitle)>0">
  5639.                                                         <xsl:call-template name="templ_prop_Space"/>
  5640.                                                     </xsl:if>
  5641.  
  5642.                                                     <xsl:value-of select="$tempCPY"/>
  5643.                                                 </xsl:if>
  5644.  
  5645.                                                 <xsl:if test="string-length($pagesDot)>0">
  5646.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($institutionDot)>0 or string-length($publicationTitle)>0 or string-length($tempCPY)>0">
  5647.                                                         <xsl:call-template name="templ_prop_Space"/>
  5648.                                                     </xsl:if>
  5649.  
  5650.                                                     <xsl:value-of select="$pagesDot"/>
  5651.                                                 </xsl:if>
  5652.                                             
  5653.                                             </xsl:when>
  5654.                                             
  5655.                                             
  5656.                                             <xsl:otherwise>
  5657.                                             
  5658.                                                 <xsl:if test="string-length($artistDot)>0">
  5659.                                                     <xsl:value-of select="normalize-space($artistDot)"/>
  5660.                                                 </xsl:if>
  5661.  
  5662.                                                 
  5663.                                                 <xsl:if test="string-length($titleDot)>0">
  5664.                                                     <xsl:if test="string-length($artistDot)>0">
  5665.                                                         <xsl:call-template name="templ_prop_Space"/>
  5666.                                                     </xsl:if>
  5667.  
  5668.                                                     <u>
  5669.                                                     <xsl:value-of select="$titleDot"/>
  5670.                                                     </u>
  5671.                                                 </xsl:if>
  5672.  
  5673.                                                 <xsl:if test="string-length($tempIC)>0">
  5674.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0">
  5675.                                                         <xsl:call-template name="templ_prop_Space"/>
  5676.                                                     </xsl:if>
  5677.  
  5678.                                                     <xsl:value-of select="$tempIC"/>
  5679.                                                 </xsl:if>
  5680.  
  5681.                                                 <xsl:if test="string-length($pagesDot)>0">
  5682.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($tempIC)>0">
  5683.                                                         <xsl:call-template name="templ_prop_Space"/>
  5684.                                                     </xsl:if>
  5685.  
  5686.                                                     <xsl:value-of select="$pagesDot"/>
  5687.                                                 </xsl:if>
  5688.  
  5689.                                             </xsl:otherwise>
  5690.                                             
  5691.                                         </xsl:choose>
  5692.  
  5693.  
  5694.  
  5695.                                     </xsl:when>
  5696.  
  5697.                                     <xsl:when test="b:SourceType='DocumentFromInternetSite'">
  5698.  
  5699.  
  5700.     
  5701.                                                 <xsl:if test="string-length($authorDot)>0">
  5702.                                                     <xsl:value-of select="$authorDot"/>
  5703.                                                 </xsl:if>
  5704.  
  5705.                                             
  5706.                                                 <xsl:if test="string-length($titleDot)>0">
  5707.                                                     <xsl:if test="string-length($authorDot)>0">
  5708.                                                         <xsl:call-template name="templ_prop_Space"/>
  5709.                                                     </xsl:if>
  5710.  
  5711.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5712.                                                     <xsl:value-of select="$titleDot"/>
  5713.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5714.                                                 </xsl:if>
  5715.  
  5716.                                                 <xsl:if test="string-length($prefixVersionDot)>0">
  5717.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5718.                                                         <xsl:call-template name="templ_prop_Space"/>
  5719.                                                     </xsl:if>
  5720.                                                     <xsl:value-of select="$prefixVersionDot"/>
  5721.                                                 </xsl:if>
  5722.  
  5723.                                                 <xsl:if test="string-length($dateDot)>0">
  5724.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0">
  5725.                                                         <xsl:call-template name="templ_prop_Space"/>
  5726.                                                     </xsl:if>
  5727.  
  5728.                                                     <xsl:value-of select="$dateDot"/>
  5729.                                                 </xsl:if>
  5730.  
  5731.                                                 <xsl:if test="string-length($internetSiteTitleDot)>0">
  5732.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0">
  5733.                                                         <xsl:call-template name="templ_prop_Space"/>
  5734.                                                     </xsl:if>
  5735.  
  5736.                                                     <u>
  5737.                                                     <xsl:value-of select="$internetSiteTitleDot"/>
  5738.                                                     </u>
  5739.                                                 </xsl:if>
  5740.  
  5741.  
  5742.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5743.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0 or string-length($internetSiteTitleDot)>0">
  5744.                                                         <xsl:call-template name="templ_prop_Space"/>
  5745.                                                     </xsl:if>
  5746.  
  5747.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5748.                                                 </xsl:if>
  5749.  
  5750.                                                 <xsl:if test="string-length($prodDot)>0">
  5751.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0 or string-length($internetSiteTitleDot)>0 or string-length($prefixEditorDot)>0">
  5752.                                                         <xsl:call-template name="templ_prop_Space"/>
  5753.                                                     </xsl:if>
  5754.  
  5755.                                                     <xsl:value-of select="$prodDot"/>
  5756.                                                 </xsl:if>
  5757.  
  5758.                                                 <xsl:if test="string-length($tempDaU)>0">
  5759.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0 or string-length($internetSiteTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prodDot)>0">
  5760.                                                         <xsl:call-template name="templ_prop_Space"/>
  5761.                                                     </xsl:if>
  5762.  
  5763.                                                     <xsl:value-of select="$tempDaU"/>
  5764.                                                 </xsl:if>
  5765.  
  5766.                                     </xsl:when>
  5767.  
  5768.  
  5769.                             
  5770.  
  5771.                                     <xsl:when test="b:SourceType='InternetSite'">
  5772.  
  5773.                                                 <xsl:if test="string-length($authorDot)>0">
  5774.                                                     <xsl:value-of select="$authorDot"/>
  5775.                                                 </xsl:if>
  5776.  
  5777.                                             
  5778.                                                 <xsl:if test="string-length($titleDot)>0">
  5779.                                                     <xsl:if test="string-length($authorDot)>0">
  5780.                                                         <xsl:call-template name="templ_prop_Space"/>
  5781.                                                     </xsl:if>
  5782.  
  5783.                                                     <u>
  5784.                                                     <xsl:value-of select="$titleDot"/>
  5785.                                                     </u>
  5786.                                                 </xsl:if>
  5787.  
  5788.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5789.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5790.                                                         <xsl:call-template name="templ_prop_Space"/>
  5791.                                                     </xsl:if>
  5792.  
  5793.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5794.                                                 </xsl:if>
  5795.  
  5796.                                                 <xsl:if test="string-length($prefixVersionDot)>0">
  5797.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0">
  5798.                                                         <xsl:call-template name="templ_prop_Space"/>
  5799.                                                     </xsl:if>
  5800.  
  5801.                                                     <xsl:value-of select="$prefixVersionDot"/>
  5802.                                                 </xsl:if>
  5803.  
  5804.  
  5805.                                                 <xsl:if test="string-length($dateDot)>0">
  5806.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($versionDot)>0">
  5807.                                                         <xsl:call-template name="templ_prop_Space"/>
  5808.                                                     </xsl:if>
  5809.  
  5810.                                                     <xsl:value-of select="$dateDot"/>
  5811.                                                 </xsl:if>
  5812.  
  5813.                                                 <xsl:if test="string-length($prodDot)>0">
  5814.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0">
  5815.                                                         <xsl:call-template name="templ_prop_Space"/>
  5816.                                                     </xsl:if>
  5817.  
  5818.                                                     <xsl:value-of select="$prodDot"/>
  5819.                                                 </xsl:if>
  5820.  
  5821.                                                 <xsl:if test="string-length($tempDaU)>0">
  5822.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0 or string-length($prodDot)>0">
  5823.                                                         <xsl:call-template name="templ_prop_Space"/>
  5824.                                                     </xsl:if>
  5825.  
  5826.                                                     <xsl:value-of select="$tempDaU"/>
  5827.                                                 </xsl:if>
  5828.  
  5829.                                     </xsl:when>
  5830.  
  5831.  
  5832.  
  5833.  
  5834.                                     <xsl:when test="b:SourceType='Patent'">
  5835.  
  5836.  
  5837.  
  5838.                                                 <xsl:if test="string-length($inventorLFDot)>0">
  5839.                                                     <xsl:value-of select="$inventorLFDot"/>
  5840.                                                 </xsl:if>
  5841.  
  5842.                                             
  5843.                                                 <xsl:if test="string-length($titleDot)>0">
  5844.                                                     <xsl:if test="string-length($inventorLFDot)>0">
  5845.                                                         <xsl:call-template name="templ_prop_Space"/>
  5846.                                                     </xsl:if>
  5847.                                                     
  5848.                                                     <xsl:value-of select="$titleDot"/>
  5849.                                                 </xsl:if>
  5850.  
  5851.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5852.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0">
  5853.                                                         <xsl:call-template name="templ_prop_Space"/>
  5854.                                                     </xsl:if>
  5855.  
  5856.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5857.                                                 </xsl:if>
  5858.  
  5859.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  5860.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0">
  5861.                                                         <xsl:call-template name="templ_prop_Space"/>
  5862.                                                     </xsl:if>
  5863.  
  5864.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  5865.                                                 </xsl:if>
  5866.  
  5867.                                                 <xsl:if test="string-length($tempCP)>0">
  5868.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0">
  5869.                                                         <xsl:call-template name="templ_prop_Space"/>
  5870.                                                     </xsl:if>
  5871.  
  5872.                                                     <xsl:value-of select="$tempCP"/>
  5873.                                                 </xsl:if>
  5874.  
  5875.                                                 <xsl:if test="string-length($dateDot)>0">
  5876.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($tempCP)>0">
  5877.                                                         <xsl:call-template name="templ_prop_Space"/>
  5878.                                                     </xsl:if>
  5879.  
  5880.                                                     <xsl:value-of select="$dateDot"/>
  5881.                                                 </xsl:if>
  5882.  
  5883.                                     </xsl:when>
  5884.  
  5885.  
  5886.  
  5887.                                     <xsl:when test="b:SourceType='Case'">
  5888.  
  5889.  
  5890.                                                 <xsl:if test="string-length($titleDot)>0">
  5891.                                                         <xsl:value-of select="$titleDot"/>
  5892.                                                 </xsl:if>
  5893.  
  5894.                                                 <xsl:if test="string-length($prefixCaseNoDot)>0">
  5895.                                                     <xsl:if test="string-length($titleDot)>0">
  5896.                                                         <xsl:call-template name="templ_prop_Space"/>
  5897.                                                     </xsl:if>
  5898.     
  5899.                                                     <xsl:value-of select="$prefixCaseNoDot"/>
  5900.                                                 </xsl:if>
  5901.  
  5902.  
  5903.                                                 <xsl:if test="string-length($courtDot)>0">
  5904.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($prefixCaseNoDot)>0">
  5905.                                                         <xsl:call-template name="templ_prop_Space"/>
  5906.                                                     </xsl:if>
  5907.  
  5908.                                                     <xsl:value-of select="$courtDot"/>
  5909.                                                 </xsl:if>
  5910.  
  5911.                                                 <xsl:if test="string-length($tempCD)>0">
  5912.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($prefixCaseNoDot)>0 or string-length($courtDot)>0">
  5913.                                                         <xsl:call-template name="templ_prop_Space"/>
  5914.                                                     </xsl:if>
  5915.     
  5916.                                                     <xsl:value-of select="$tempCD"/>
  5917.                                                 </xsl:if>
  5918.  
  5919.                                     </xsl:when>
  5920.  
  5921.  
  5922.  
  5923.                                     <xsl:when test="b:SourceType='Misc'">
  5924.  
  5925.                                                 <xsl:if test="string-length($authorDot)>0">
  5926.                                                     <xsl:value-of select="$authorDot"/>
  5927.                                                 </xsl:if>
  5928.  
  5929.                                                 <xsl:if test="string-length($titleDot)>0">
  5930.                                                     <xsl:if test="string-length($authorDot)>0">
  5931.                                                         <xsl:call-template name="templ_prop_Space"/>
  5932.                                                     </xsl:if>
  5933.  
  5934.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5935.                                                     <xsl:value-of select="$titleDot"/>
  5936.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5937.                                                 </xsl:if>
  5938.  
  5939.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  5940.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5941.                                                         <xsl:call-template name="templ_prop_Space"/>
  5942.                                                     </xsl:if>
  5943.  
  5944.                                                     <u>
  5945.                                                     <xsl:value-of select="$publicationTitleDot"/>
  5946.                                                     </u>
  5947.                                                 </xsl:if>
  5948.  
  5949.                                                 <xsl:if test="string-length($prefixVolumeDot)>0">
  5950.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0">
  5951.                                                         <xsl:call-template name="templ_prop_Space"/>
  5952.                                                     </xsl:if>
  5953.  
  5954.                                                     <xsl:value-of select="$prefixVolumeDot"/>
  5955.                                                 </xsl:if>
  5956.  
  5957.  
  5958.                                                 <xsl:if test="string-length($issueDot)>0">
  5959.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0">
  5960.                                                         <xsl:call-template name="templ_prop_Space"/>
  5961.                                                     </xsl:if>
  5962.  
  5963.                                                     <xsl:value-of select="$issueDot"/>
  5964.                                                 </xsl:if>
  5965.  
  5966.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5967.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0">
  5968.                                                         <xsl:call-template name="templ_prop_Space"/>
  5969.                                                     </xsl:if>
  5970.  
  5971.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5972.                                                 </xsl:if>
  5973.  
  5974.  
  5975.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  5976.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($prefixEditorDot)>0">
  5977.                                                         <xsl:call-template name="templ_prop_Space"/>
  5978.                                                     </xsl:if>
  5979.  
  5980.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  5981.                                                 </xsl:if>
  5982.  
  5983.                                                 <xsl:if test="string-length($prefixCompilerDot)>0">
  5984.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0">
  5985.                                                         <xsl:call-template name="templ_prop_Space"/>
  5986.                                                     </xsl:if>
  5987.  
  5988.                                                     <xsl:value-of select="$prefixCompilerDot"/>
  5989.                                                 </xsl:if>
  5990.  
  5991.  
  5992.                                                 <xsl:if test="string-length($tempCPD)>0">
  5993.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($prefixCompilerDot)>0">
  5994.                                                         <xsl:call-template name="templ_prop_Space"/>
  5995.                                                     </xsl:if>
  5996.  
  5997.                                                     <xsl:value-of select="$tempCPD"/>
  5998.                                                 </xsl:if>
  5999.  
  6000.                                                 <xsl:if test="string-length($pagesDot)>0">
  6001.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($prefixCompilerDot)>0 or string-length($tempCPD)>0">
  6002.                                                         <xsl:call-template name="templ_prop_Space"/>
  6003.                                                     </xsl:if>
  6004.  
  6005.                                                     <xsl:value-of select="$pagesDot"/>
  6006.                                                 </xsl:if>
  6007.  
  6008.  
  6009.                                     </xsl:when>
  6010.  
  6011.  
  6012.  
  6013.  
  6014.                                     <xsl:when test="b:SourceType='ElectronicSource'">
  6015.  
  6016.                                                 <xsl:variable name="lfAuthor">
  6017.                                                     <xsl:if test="string-length($authorDot)>0">
  6018.                                                         <xsl:value-of select="$authorDot"/>
  6019.                                                     </xsl:if>
  6020.  
  6021.  
  6022.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)>0">
  6023.                                                         <xsl:value-of select="$sufixEditorLFDot"/>
  6024.                                                     </xsl:if>
  6025.  
  6026.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)=0 and string-length($sufixTranslatorLFDot)>0">
  6027.                                                         <xsl:value-of select="$sufixTranslatorLFDot"/>
  6028.                                                     </xsl:if>
  6029.  
  6030.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)=0 and string-length($sufixTranslatorLFDot)=0 and string-length($sufixCompilerLFDot)>0">
  6031.                                                         <xsl:value-of select="$sufixCompilerLFDot"/>
  6032.                                                     </xsl:if>
  6033.                                                 </xsl:variable>
  6034.  
  6035.                                                 <xsl:value-of select="$lfAuthor"/>
  6036.                                                 
  6037.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($publicationTitleDot)>0">
  6038.                                                     <xsl:if test="string-length($lfAuthor)>0">
  6039.                                                         <xsl:call-template name="templ_prop_Space"/>
  6040.                                                     </xsl:if>
  6041.             
  6042.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6043.                                                     <xsl:value-of select="$titleDot"/>
  6044.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6045.                                                 </xsl:if>
  6046.  
  6047.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($publicationTitleDot)=0">
  6048.                                                     <xsl:if test="string-length($lfAuthor)>0">
  6049.                                                         <xsl:call-template name="templ_prop_Space"/>
  6050.                                                     </xsl:if>
  6051.             
  6052.                                                     <u>
  6053.                                                     <xsl:value-of select="$titleDot"/>
  6054.                                                     </u>
  6055.                                                 </xsl:if>
  6056.  
  6057.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  6058.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0">
  6059.                                                         <xsl:call-template name="templ_prop_Space"/>
  6060.                                                     </xsl:if>
  6061.  
  6062.                                                     <u>
  6063.                                                     <xsl:value-of select="$publicationTitleDot"/>
  6064.                                                     </u>
  6065.                                                 </xsl:if>
  6066.  
  6067.                                                 <xsl:if test="string-length($editionDot)>0">
  6068.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0">
  6069.                                                         <xsl:call-template name="templ_prop_Space"/>
  6070.                                                     </xsl:if>
  6071.  
  6072.                                                     <xsl:value-of select="$editionDot"/>
  6073.                                                 </xsl:if>
  6074.  
  6075.                                                 <xsl:if test="string-length($prefixVolumeDot)>0">
  6076.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0">
  6077.                                                         <xsl:call-template name="templ_prop_Space"/>
  6078.                                                     </xsl:if>
  6079.  
  6080.                                                     <xsl:value-of select="$prefixVolumeDot"/>
  6081.                                                 </xsl:if>
  6082.  
  6083.                                                 <xsl:if test="string-length($mediumDot)>0">
  6084.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0">
  6085.                                                         <xsl:call-template name="templ_prop_Space"/>
  6086.                                                     </xsl:if>
  6087.  
  6088.                                                     <xsl:value-of select="$mediumDot"/>
  6089.                                                 </xsl:if>
  6090.  
  6091.  
  6092.                                                 <xsl:if test="string-length($authorDot)>0 and string-length($prefixEditorDot)>0">
  6093.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6094.                                                         <xsl:call-template name="templ_prop_Space"/>
  6095.                                                     </xsl:if>
  6096.  
  6097.                                                     <xsl:value-of select="$prefixEditorDot"/>
  6098.                                                 </xsl:if>
  6099.  
  6100.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0 and (string-length($authorDot)>0 or (string-length($authorDot)=0 and  string-length($sufixEditorLFDot)>0 ))">
  6101.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6102.                                                         <xsl:call-template name="templ_prop_Space"/>
  6103.                                                     </xsl:if>
  6104.  
  6105.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  6106.                                                 </xsl:if>
  6107.                                                 
  6108.                                                 <xsl:if test="string-length($prefixCompilerDot)>0 and (string-length($authorDot)>0 or (string-length($authorDot)=0 and  (string-length($sufixEditorLFDot)>0 or string-length($sufixTranslatorLFDot)>0)))">
  6109.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6110.                                                         <xsl:call-template name="templ_prop_Space"/>
  6111.                                                     </xsl:if>
  6112.  
  6113.                                                     <xsl:value-of select="$prefixCompilerDot"/>
  6114.                                                 </xsl:if>
  6115.                                                 
  6116.                                                 <xsl:if test="string-length($prefixProdDot)>0">
  6117.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6118.                                                         <xsl:call-template name="templ_prop_Space"/>
  6119.                                                     </xsl:if>
  6120.  
  6121.                                                     <xsl:value-of select="$prefixProdDot"/>
  6122.                                                 </xsl:if>
  6123.  
  6124.                                                 <xsl:if test="string-length($tempCPD)>0">
  6125.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0 or string-length($prefixProdDot)>0">
  6126.                                                         <xsl:call-template name="templ_prop_Space"/>
  6127.                                                     </xsl:if>
  6128.  
  6129.                                                     <xsl:value-of select="$tempCPD"/>
  6130.                                                 </xsl:if>
  6131.  
  6132.  
  6133.  
  6134.                                     </xsl:when>
  6135.  
  6136.  
  6137.                                     <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  6138.  
  6139.  
  6140.                                                 <xsl:if test="string-length($authorDot)>0">
  6141.                                                     <xsl:value-of select="$authorDot"/>
  6142.                                                 </xsl:if>
  6143.  
  6144.                                                 
  6145.                                                 <xsl:if test="string-length($titleDot)>0">
  6146.                                                     <xsl:if test="string-length($authorDot)>0">
  6147.                                                         <xsl:call-template name="templ_prop_Space"/>
  6148.                                                     </xsl:if>
  6149.  
  6150.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6151.                                                     
  6152.                                                     <xsl:value-of select="$titleDot"/>
  6153.                                                     
  6154.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6155.                                                 </xsl:if>
  6156.  
  6157.                                                 <xsl:if test="string-length($periodicalTitle)>0">
  6158.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  6159.                                                         <xsl:call-template name="templ_prop_Space"/>
  6160.                                                     </xsl:if>
  6161.  
  6162.                                                     <u>
  6163.                                                     <xsl:value-of select="$periodicalTitle"/>
  6164.                                                     </u>
  6165.                                                 </xsl:if>
  6166.  
  6167.                                                 <xsl:if test="string-length($tempDEP)>0">
  6168.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($periodicalTitle)>0">
  6169.                                                         <xsl:call-template name="templ_prop_Space"/>
  6170.                                                     </xsl:if>
  6171.     
  6172.                                                     <xsl:value-of select="$tempDEP"/>
  6173.                                                 </xsl:if>
  6174.  
  6175.                                     </xsl:when>
  6176.  
  6177.  
  6178.                                     <xsl:when test="b:SourceType='Film'">
  6179.                                     
  6180.                                                 <xsl:if test="string-length($titleDot)>0">
  6181.                                                         <u>
  6182.                                                         <xsl:value-of select="$titleDot"/>
  6183.                                                         </u>
  6184.                                                 </xsl:if>
  6185.                                     
  6186.                                                 <xsl:if test="string-length($writerDot)>0">
  6187.                                                     <xsl:if test="string-length($titleDot)>0">
  6188.                                                         <xsl:call-template name="templ_prop_Space"/>
  6189.                                                     </xsl:if>
  6190.                           <xsl:variable name="str_ByCap">
  6191.                             <xsl:call-template name="templ_str_ByCap"/>
  6192.                           </xsl:variable>
  6193.  
  6194.                           <xsl:call-template name="StringFormatDot">
  6195.                                                           <xsl:with-param name="format" select="$str_ByCap"/>
  6196.                                                           <xsl:with-param name="parameters">
  6197.                                                               <t:params>
  6198.                                                                   <t:param>
  6199.                                                                     <xsl:value-of select="$writer"/>
  6200.                                                                 </t:param>
  6201.                                                               </t:params>
  6202.                                                           </xsl:with-param>
  6203.                                                     </xsl:call-template>
  6204.                                                 </xsl:if>
  6205.  
  6206.                                                 <xsl:if test="string-length($prefixDirectorDot)>0">
  6207.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0">
  6208.                                                         <xsl:call-template name="templ_prop_Space"/>
  6209.                                                     </xsl:if>
  6210.  
  6211.                                                     <xsl:value-of select="$prefixDirectorDot"/>
  6212.                                                 </xsl:if>
  6213.  
  6214.  
  6215.                                                 <xsl:if test="string-length($prefixPerformerDot)>0">
  6216.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0">
  6217.                                                         <xsl:call-template name="templ_prop_Space"/>
  6218.                                                     </xsl:if>
  6219.  
  6220.                                                     <xsl:value-of select="$prefixPerformerDot"/>
  6221.                                                 </xsl:if>
  6222.  
  6223.  
  6224.                                                 <xsl:if test="string-length($prefixProdDot)>0">
  6225.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0 or string-length($prefixPerformerDot)>0">
  6226.                                                         <xsl:call-template name="templ_prop_Space"/>
  6227.                                                     </xsl:if>
  6228.  
  6229.                                                     <xsl:value-of select="$prefixProdDot"/>
  6230.                                                 </xsl:if>
  6231.  
  6232.  
  6233.                                                 <xsl:if test="string-length($tempDY)>0">
  6234.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0 or string-length($prefixProdDot)>0 or string-length($prefixPerformerDot)>0">
  6235.                                                         <xsl:call-template name="templ_prop_Space"/>
  6236.                                                     </xsl:if>
  6237.  
  6238.                                                     <xsl:value-of select="$tempDY"/>
  6239.                                                 </xsl:if>
  6240.                                     
  6241.                                     </xsl:when>
  6242.  
  6243.  
  6244.                                     <xsl:when test="b:SourceType='Interview'">
  6245.  
  6246.                                         <xsl:choose>
  6247.                                         
  6248.                                             <xsl:when test="string-length($broadcaster)>0">
  6249.  
  6250.                                                 <xsl:if test="string-length($intervieweeLFDot)>0">
  6251.                                                     <xsl:value-of select="$intervieweeLFDot"/>
  6252.                                                 </xsl:if>
  6253.  
  6254.                                                 <xsl:choose>
  6255.                                                     <xsl:when test="string-length($interviewTitleDot)=0 and string-length($broadcastTitleDot)=0 and string-length($interviewerDot)=0">
  6256.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6257.                                                             <xsl:call-template name="templ_prop_Space"/>
  6258.                                                         </xsl:if>
  6259.                                                         
  6260.                                                         <xsl:call-template name="templ_str_InterviewCap"/>
  6261.                                                         <xsl:call-template name="templ_prop_Dot"/>
  6262.                                                     </xsl:when>
  6263.                                                     
  6264.                                                     
  6265.                                                     <xsl:when test="string-length($interviewTitleDot)=0 and string-length($broadcastTitleDot)=0 and string-length($interviewerDot)>0">
  6266.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6267.                                                             <xsl:call-template name="templ_prop_Space"/>
  6268.                                                         </xsl:if>
  6269.                             <xsl:variable name="str_InterviewWithCap">
  6270.                               <xsl:call-template name="templ_str_InterviewWithCap"/>
  6271.                             </xsl:variable>
  6272.  
  6273.                             <xsl:call-template name="StringFormatDot">
  6274.                                                               <xsl:with-param name="format" select="$str_InterviewWithCap"/>
  6275.                                                               <xsl:with-param name="parameters">
  6276.                                                                   <t:params>
  6277.                                                                       <t:param>
  6278.                                                                         <xsl:value-of select="$interviewer"/>
  6279.                                                                     </t:param>
  6280.                                                                   </t:params>
  6281.                                                               </xsl:with-param>
  6282.                                                         </xsl:call-template>
  6283.                                                     </xsl:when>
  6284.                                                     
  6285.                                                     <xsl:when test="string-length($interviewTitleDot)=0 and string-length($broadcastTitleDot)>0 and string-length($interviewerDot)=0">
  6286.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6287.                                                             <xsl:call-template name="templ_prop_Space"/>
  6288.                                                         </xsl:if>
  6289.                                                         
  6290.                                                         <xsl:call-template name="templ_str_InterviewCap"/>
  6291.                                                         <xsl:call-template name="templ_prop_Dot"/>
  6292.                                                     </xsl:when>
  6293.  
  6294.                                                     <xsl:when test="string-length($interviewTitleDot)=0 and string-length($broadcastTitleDot)>0 and string-length($interviewerDot)>0">
  6295.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6296.                                                             <xsl:call-template name="templ_prop_Space"/>
  6297.                                                         </xsl:if>
  6298.  
  6299.                             <xsl:variable name="str_InterviewWithCap">
  6300.                               <xsl:call-template name="templ_str_InterviewWithCap"/>
  6301.                             </xsl:variable>
  6302.  
  6303.                             <xsl:call-template name="StringFormatDot">
  6304.                                                               <xsl:with-param name="format" select="$str_InterviewWithCap"/>
  6305.                                                               <xsl:with-param name="parameters">
  6306.                                                                   <t:params>
  6307.                                                                       <t:param>
  6308.                                                                         <xsl:value-of select="$interviewer"/>
  6309.                                                                     </t:param>
  6310.                                                                   </t:params>
  6311.                                                               </xsl:with-param>
  6312.                                                         </xsl:call-template>
  6313.                                                     </xsl:when>
  6314.  
  6315.                                                     <xsl:when test="string-length($interviewTitleDot)>0 and string-length($broadcastTitleDot)=0 and string-length($interviewerDot)=0">
  6316.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6317.                                                             <xsl:call-template name="templ_prop_Space"/>
  6318.                                                         </xsl:if>
  6319.                                                         
  6320.                                                         <u>
  6321.                                                         <xsl:value-of select="$interviewTitleDot"/>
  6322.                                                         </u>
  6323.                                                     </xsl:when>
  6324.  
  6325.                                                     <xsl:when test="string-length($interviewTitleDot)>0 and string-length($broadcastTitleDot)=0 and string-length($interviewerDot)>0">
  6326.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6327.                                                             <xsl:call-template name="templ_prop_Space"/>
  6328.                                                         </xsl:if>
  6329.  
  6330.                             <xsl:variable name="str_WithUnCap">
  6331.                               <xsl:call-template name="templ_str_WithUnCap"/>
  6332.                             </xsl:variable>
  6333.  
  6334.                             <xsl:call-template name="StringFormatDot">
  6335.                                                               <xsl:with-param name="format" select="$str_WithUnCap"/>
  6336.                                                               <xsl:with-param name="parameters">
  6337.                                                                   <t:params>
  6338.                                                                       <t:param>
  6339.                                                                         <u>
  6340.                                                                         <xsl:value-of select="$interviewTitleDot"/>
  6341.                                                                         </u>
  6342.                                                                     </t:param>
  6343.                                                                       <t:param>
  6344.                                                                         <xsl:value-of select="$interviewerDot"/>
  6345.                                                                     </t:param>
  6346.                                                                   </t:params>
  6347.                                                               </xsl:with-param>
  6348.                                                         </xsl:call-template>
  6349.                                                     </xsl:when>
  6350.                                                     
  6351.                                                     <xsl:when test="string-length($interviewTitleDot)>0 and string-length($broadcastTitleDot)>0 and string-length($interviewerDot)=0">
  6352.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6353.                                                             <xsl:call-template name="templ_prop_Space"/>
  6354.                                                         </xsl:if>
  6355.                                                         
  6356.                                                         <xsl:call-template name="templ_prop_OpenQuote"/>
  6357.                                                         <xsl:value-of select="$interviewTitle"/>
  6358.                                                         <xsl:call-template name="templ_prop_CloseQuote"/>
  6359.                                                     </xsl:when>
  6360.                                                     
  6361.                                                     <xsl:when test="string-length($interviewTitleDot)>0 and string-length($broadcastTitleDot)>0 and string-length($interviewerDot)>0">
  6362.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6363.                                                             <xsl:call-template name="templ_prop_Space"/>
  6364.                                                         </xsl:if>
  6365.  
  6366.                             <xsl:variable name="str_WithUnCap">
  6367.                               <xsl:call-template name="templ_str_WithUnCap"/>
  6368.                             </xsl:variable>
  6369.  
  6370.                             <xsl:call-template name="StringFormatDot">
  6371.                                                               <xsl:with-param name="format" select="$str_WithUnCap"/>
  6372.                                                               <xsl:with-param name="parameters">
  6373.                                                                   <t:params>
  6374.                                                                       <t:param>
  6375.                                                                         <xsl:call-template name="templ_prop_OpenQuote"/>
  6376.                                                                         <xsl:value-of select="$interviewTitle"/>
  6377.                                                                         <xsl:call-template name="templ_prop_CloseQuote"/>
  6378.                                                                     </t:param>
  6379.                                                                       <t:param>
  6380.                                                                         <xsl:value-of select="$interviewerDot"/>
  6381.                                                                     </t:param>
  6382.                                                                   </t:params>
  6383.                                                               </xsl:with-param>
  6384.                                                         </xsl:call-template>
  6385.                                                     </xsl:when>
  6386.                                                 </xsl:choose>
  6387.  
  6388.                                                 <xsl:if test="string-length($broadcastTitleDot)>0">
  6389.                                                     <xsl:call-template name="templ_prop_Space"/>
  6390.  
  6391.                                                     <u>
  6392.                                                     <xsl:value-of select="$broadcastTitleDot"/>
  6393.                                                     </u>
  6394.                                                 </xsl:if>
  6395.  
  6396.  
  6397.                                                 <xsl:if test="string-length($broadcasterDot)>0">
  6398.                                                     <xsl:call-template name="templ_prop_Space"/>
  6399.                                                     <xsl:value-of select="$broadcasterDot"/>
  6400.                                                 </xsl:if>
  6401.  
  6402.                                                 <xsl:if test="string-length($tempSC)>0">
  6403.                                                     <xsl:call-template name="templ_prop_Space"/>
  6404.                                                     <xsl:value-of select="$tempSC"/>
  6405.                                                 </xsl:if>
  6406.  
  6407.                                                 <xsl:if test="string-length($dateDot)>0">
  6408.                                                     <xsl:call-template name="templ_prop_Space"/>
  6409.                                                     <xsl:value-of select="$dateDot"/>
  6410.                                                 </xsl:if>
  6411.                                             
  6412.                                             </xsl:when>
  6413.                                             
  6414.                                             
  6415.                                             <xsl:otherwise>
  6416.                                             
  6417.  
  6418.                                                 <xsl:if test="string-length($intervieweeLFDot)>0">
  6419.                                                     <xsl:value-of select="$intervieweeLFDot"/>
  6420.                                                 </xsl:if>
  6421.  
  6422.                                                 <xsl:if test="string-length($interviewTitle)>0">
  6423.  
  6424.                                                     <xsl:if test="string-length($broadcastTitleDot)>0">
  6425.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6426.                                                             <xsl:call-template name="templ_prop_Space"/>
  6427.                                                         </xsl:if>
  6428.  
  6429.                                                         <xsl:call-template name="templ_prop_OpenQuote"/>
  6430.                                                         <xsl:value-of select="$interviewTitleDot"/>
  6431.                                                         <xsl:call-template name="templ_prop_CloseQuote"/>
  6432.                                                     </xsl:if>
  6433.  
  6434.  
  6435.                                                     <xsl:if test="string-length($broadcastTitleDot)=0">
  6436.                                                         <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($broadcastTitleDot)>0">
  6437.                                                             <xsl:call-template name="templ_prop_Space"/>
  6438.                                                         </xsl:if>
  6439.  
  6440.                                                         <u>
  6441.                                                         <xsl:value-of select="$interviewTitle"/>
  6442.                                                         </u>
  6443.                                                     </xsl:if>
  6444.                                                 </xsl:if>
  6445.  
  6446.                                                 <xsl:if test="string-length($interviewTitleDot)=0">
  6447.                                                     <xsl:if test="string-length($intervieweeLFDot)>0">
  6448.                                                         <xsl:call-template name="templ_prop_Space"/>
  6449.                                                     </xsl:if>
  6450.                                                     <xsl:call-template name="templ_str_InterviewCap"/>
  6451.                                                     <xsl:call-template name="templ_prop_Dot"/>
  6452.                                                 </xsl:if>
  6453.  
  6454.  
  6455.  
  6456.  
  6457.                                                 <xsl:if test="string-length($broadcastTitleDot)>0">
  6458.                                                     <xsl:call-template name="templ_prop_Space"/>
  6459.                                                     
  6460.                                                     <u>
  6461.                                                     <xsl:value-of select="$broadcastTitleDot"/>
  6462.                                                     </u>
  6463.                                                 </xsl:if>
  6464.  
  6465.                                                 <xsl:if test="string-length($interviewerDot)>0">
  6466.                                                     <xsl:call-template name="templ_prop_Space"/>
  6467.  
  6468.                                                     <xsl:value-of select="$interviewerDot"/>
  6469.                                                 </xsl:if>
  6470.  
  6471.  
  6472.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  6473.                                                     <xsl:call-template name="templ_prop_Space"/>
  6474.  
  6475.                                                     <xsl:value-of select="$prefixEditorDot"/>
  6476.                                                 </xsl:if>
  6477.  
  6478.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  6479.                                                     <xsl:call-template name="templ_prop_Space"/>
  6480.  
  6481.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  6482.                                                 </xsl:if>
  6483.  
  6484.  
  6485.  
  6486.                                                 <xsl:if test="string-length($tempCPD)>0">
  6487.                                                     <xsl:call-template name="templ_prop_Space"/>
  6488.  
  6489.                                                     <xsl:value-of select="$tempCPD"/>
  6490.                                                 </xsl:if>
  6491.  
  6492.                                                 <xsl:if test="string-length($pagesDot)>0">
  6493.                                                     <xsl:call-template name="templ_prop_Space"/>
  6494.  
  6495.                                                     <xsl:value-of select="$pagesDot"/>
  6496.                                                 </xsl:if>
  6497.                                             
  6498.                                             
  6499.                                             </xsl:otherwise>
  6500.                                         </xsl:choose>
  6501.                                         
  6502.  
  6503.                                     </xsl:when>
  6504.  
  6505.  
  6506.                                     
  6507.  
  6508.  
  6509.  
  6510.                                     
  6511.                                 </xsl:choose>
  6512.                             </xsl:element>
  6513.                         </xsl:for-each>
  6514.                     </body>
  6515.                 </html>
  6516.             </xsl:when>
  6517.         </xsl:choose>
  6518.     </xsl:template>
  6519.     
  6520.     
  6521.     <xsl:template name="sortedList">
  6522.         
  6523.         <xsl:param name="sourceRoot"/>    
  6524.         <xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">    
  6525.             <xsl:sort select="b:SortingString" />
  6526.         </xsl:apply-templates>    
  6527.     </xsl:template>
  6528.  
  6529.     
  6530.     <xsl:template match="*">
  6531.     
  6532.         <xsl:element name="{name()}" namespace="{namespace-uri()}">
  6533.             <xsl:for-each select="@*">
  6534.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  6535.                     <xsl:value-of select="."/>
  6536.                 </xsl:attribute>
  6537.             </xsl:for-each>
  6538.             <xsl:apply-templates>
  6539.                 <xsl:sort select="b:SortingString" />
  6540.             </xsl:apply-templates>
  6541.         </xsl:element>
  6542.     </xsl:template>
  6543.     
  6544.     <xsl:template match="text()">
  6545.         <xsl:value-of select="."/>
  6546.     </xsl:template>
  6547.     
  6548.     <xsl:template name="formatMainAuthor">
  6549.         <xsl:call-template name="formatNameCore">
  6550.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_MLA_MainAuthor_FML"/></xsl:with-param>
  6551.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_MLA_MainAuthor_FM"/></xsl:with-param>
  6552.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_MLA_MainAuthor_ML"/></xsl:with-param>
  6553.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_MLA_MainAuthor_FL"/></xsl:with-param>
  6554.             <xsl:with-param name="upperLast">no</xsl:with-param>
  6555.             <xsl:with-param name="withDot">no</xsl:with-param>
  6556.         </xsl:call-template>
  6557.     </xsl:template>
  6558.  
  6559.     
  6560.     <xsl:template name="formatSecondaryName">
  6561.         <xsl:call-template name="formatNameCore">
  6562.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_MLA_SecondaryAuthors_FML"/></xsl:with-param>
  6563.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_MLA_SecondaryAuthors_FM"/></xsl:with-param>
  6564.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_MLA_SecondaryAuthors_ML"/></xsl:with-param>
  6565.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_MLA_SecondaryAuthors_FL"/></xsl:with-param>
  6566.             <xsl:with-param name="upperLast">no</xsl:with-param>
  6567.             <xsl:with-param name="withDot">no</xsl:with-param>
  6568.         </xsl:call-template>
  6569.     </xsl:template>
  6570.  
  6571.  
  6572.     <xsl:template name="formatOtherAuthors">
  6573.         <xsl:call-template name="formatNameCore">
  6574.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_MLA_OtherAuthors_FML"/></xsl:with-param>
  6575.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_MLA_OtherAuthors_FM"/></xsl:with-param>
  6576.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_MLA_OtherAuthors_ML"/></xsl:with-param>
  6577.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_MLA_OtherAuthors_FL"/></xsl:with-param>
  6578.             <xsl:with-param name="upperLast">no</xsl:with-param>
  6579.             <xsl:with-param name="withDot">no</xsl:with-param>        
  6580.         </xsl:call-template>
  6581.     </xsl:template>
  6582.  
  6583.  
  6584.     <xsl:template name="formatPersonSeperator">
  6585.     
  6586.         <xsl:choose>
  6587.             <xsl:when test="count(../b:Person) > 3 and position() = 1">
  6588.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  6589.                 <xsl:call-template name="templ_str_AndOthersUnCap"/>
  6590.             </xsl:when>
  6591.             <xsl:when test="count(../b:Person) > 3 and position() >= 2">
  6592.             </xsl:when>
  6593.             <xsl:when test="3 >= count(../b:Person) and position() = count(../b:Person) - 1">
  6594.                 <xsl:variable name="noAndBeforeLastAuthor">
  6595.                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  6596.                 </xsl:variable>
  6597.  
  6598.                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  6599.                     <xsl:call-template name="templ_prop_Space"/>
  6600.                     <xsl:call-template name="templ_str_AndUnCap"/>
  6601.                     <xsl:call-template name="templ_prop_Space"/>
  6602.                 </xsl:if>
  6603.                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  6604.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  6605.                 </xsl:if>
  6606.             </xsl:when>
  6607.             <xsl:when test="position() = count(../b:Person)">
  6608.                 <xsl:text></xsl:text>
  6609.             </xsl:when>
  6610.             <xsl:when test="3 > position()">
  6611.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  6612.             </xsl:when>
  6613.         </xsl:choose>
  6614.     </xsl:template>
  6615.     
  6616.     <xsl:template name="formatPersonsAuthor">
  6617.         <xsl:if test="string-length(b:Corporate)=0">
  6618.             <xsl:for-each select="b:NameList/b:Person">
  6619.                 <xsl:if test="position() = 1">
  6620.                     <xsl:call-template name="formatMainAuthor"/>
  6621.                 </xsl:if>
  6622.                 <xsl:if test="3 >= count(../b:Person) and 3 >= position() and position() != 1">
  6623.                     <xsl:call-template name="formatOtherAuthors"/>
  6624.                 </xsl:if>
  6625.                 <xsl:call-template name="formatPersonSeperator"/>
  6626.             </xsl:for-each>
  6627.         </xsl:if>
  6628.  
  6629.         <xsl:if test="string-length(b:Corporate)>0">
  6630.             <xsl:value-of select="b:Corporate"/>
  6631.         </xsl:if>
  6632.     </xsl:template>
  6633.     
  6634.     <xsl:template name="formatPersons">
  6635.         <xsl:if test="string-length(b:Corporate)=0">
  6636.             <xsl:for-each select="b:NameList/b:Person">
  6637.                 <xsl:if test="(count(../b:Person) > 3 and 1 = position()) or (3 >= count(../b:Person))">
  6638.                     <xsl:call-template name="formatSecondaryName"/>
  6639.                 </xsl:if>
  6640.                 <xsl:call-template name="formatPersonSeperator"/>
  6641.             </xsl:for-each>
  6642.         </xsl:if>
  6643.  
  6644.         <xsl:if test="string-length(b:Corporate)>0">
  6645.             <xsl:value-of select="b:Corporate"/>
  6646.         </xsl:if>
  6647.     </xsl:template>
  6648.     
  6649.     <xsl:template name="formatAuthor">
  6650.         <xsl:for-each select="b:Author/b:Author">
  6651.             <xsl:call-template name="formatPersonsAuthor"/>
  6652.         </xsl:for-each>
  6653.     </xsl:template>
  6654.  
  6655.     <xsl:template name="formatMain">
  6656.         <xsl:for-each select="b:Author/b:Main">
  6657.             <xsl:call-template name="formatPersonsAuthor"/>
  6658.         </xsl:for-each>
  6659.     </xsl:template>
  6660.  
  6661.  
  6662.     <xsl:template name="formatBookAuthor">
  6663.         <xsl:for-each select="b:Author/b:BookAuthor">
  6664.             <xsl:call-template name="formatPersonsAuthor"/>
  6665.         </xsl:for-each>
  6666.     </xsl:template>
  6667.  
  6668.  
  6669.     
  6670.     <xsl:template name="formatEditorLF">
  6671.         <xsl:for-each select="b:Author/b:Editor">
  6672.             <xsl:call-template name="formatPersonsAuthor"/>
  6673.         </xsl:for-each>
  6674.     </xsl:template>
  6675.  
  6676.     <xsl:template name="formatTranslatorLF">
  6677.         <xsl:for-each select="b:Author/b:Translator">
  6678.             <xsl:call-template name="formatPersonsAuthor"/>
  6679.         </xsl:for-each>
  6680.     </xsl:template>
  6681.  
  6682.  
  6683.     <xsl:template name="formatPerformerLF">
  6684.         <xsl:for-each select="b:Author/b:Performer">
  6685.             <xsl:call-template name="formatPersonsAuthor"/>
  6686.         </xsl:for-each>
  6687.     </xsl:template>
  6688.  
  6689.     <xsl:template name="formatConductorLF">
  6690.         <xsl:for-each select="b:Author/b:Conductor">
  6691.             <xsl:call-template name="formatPersonsAuthor"/>
  6692.         </xsl:for-each>
  6693.     </xsl:template>
  6694.  
  6695.     <xsl:template name="formatComposerLF">
  6696.         <xsl:for-each select="b:Author/b:Composer">
  6697.             <xsl:call-template name="formatPersonsAuthor"/>
  6698.         </xsl:for-each>
  6699.     </xsl:template>
  6700.  
  6701.     <xsl:template name="formatArtistLF">
  6702.         <xsl:for-each select="b:Author/b:Artist">
  6703.             <xsl:call-template name="formatPersonsAuthor"/>
  6704.         </xsl:for-each>
  6705.     </xsl:template>
  6706.  
  6707.  
  6708.     <xsl:template name="formatInventorLF">
  6709.         <xsl:for-each select="b:Author/b:Inventor">
  6710.             <xsl:call-template name="formatPersonsAuthor"/>
  6711.         </xsl:for-each>
  6712.     </xsl:template>
  6713.  
  6714.  
  6715.     <xsl:template name="formatIntervieweeLF">
  6716.         <xsl:for-each select="b:Author/b:Interviewee">
  6717.             <xsl:call-template name="formatPersonsAuthor"/>
  6718.         </xsl:for-each>
  6719.     </xsl:template>
  6720.  
  6721.  
  6722.     <xsl:template name="formatInterviewerLF">
  6723.         <xsl:for-each select="b:Author/b:Interviewer">
  6724.             <xsl:call-template name="formatPersonsAuthor"/>
  6725.         </xsl:for-each>
  6726.     </xsl:template>
  6727.  
  6728.  
  6729.     <xsl:template name="formatCompilerLF">
  6730.         <xsl:for-each select="b:Author/b:Compiler">
  6731.             <xsl:call-template name="formatPersonsAuthor"/>
  6732.         </xsl:for-each>
  6733.     </xsl:template>
  6734.  
  6735.  
  6736.  
  6737.  
  6738.  
  6739.  
  6740.  
  6741.  
  6742.  
  6743.  
  6744.  
  6745.  
  6746.     <xsl:template name="formatEditor">
  6747.         <xsl:for-each select="b:Author/b:Editor">
  6748.             <xsl:call-template name="formatPersons"/>
  6749.         </xsl:for-each>
  6750.     </xsl:template>
  6751.     
  6752.     <xsl:template name="formatTranslator">
  6753.         <xsl:for-each select="b:Author/b:Translator">
  6754.             <xsl:call-template name="formatPersons"/>
  6755.         </xsl:for-each>
  6756.     </xsl:template>
  6757.     
  6758.  
  6759.     <xsl:template name="formatPerformer">
  6760.         <xsl:for-each select="b:Author/b:Performer">
  6761.             <xsl:call-template name="formatPersons"/>
  6762.         </xsl:for-each>
  6763.     </xsl:template>
  6764.     
  6765.     
  6766.  
  6767.     <xsl:template name="formatConductor">
  6768.         <xsl:for-each select="b:Author/b:Conductor">
  6769.             <xsl:call-template name="formatPersons"/>
  6770.         </xsl:for-each>
  6771.     </xsl:template>
  6772.     
  6773.  
  6774.     <xsl:template name="formatComposer">
  6775.         <xsl:for-each select="b:Author/b:Composer">
  6776.             <xsl:call-template name="formatPersons"/>
  6777.         </xsl:for-each>
  6778.     </xsl:template>        
  6779.     
  6780.     <xsl:template name="formatInterviewer">
  6781.         <xsl:for-each select="b:Author/b:Interviewer">
  6782.             <xsl:call-template name="formatPersons"/>
  6783.         </xsl:for-each>
  6784.     </xsl:template>        
  6785.     
  6786.  
  6787.     <xsl:template name="formatWriter">
  6788.         <xsl:for-each select="b:Author/b:Writer">
  6789.             <xsl:call-template name="formatPersons"/>
  6790.         </xsl:for-each>
  6791.     </xsl:template>
  6792.     
  6793.  
  6794.     <xsl:template name="formatDirector">
  6795.         <xsl:for-each select="b:Author/b:Director">
  6796.             <xsl:call-template name="formatPersons"/>
  6797.         </xsl:for-each>
  6798.     </xsl:template>        
  6799.     
  6800.     <xsl:template name="formatProducerName">
  6801.         <xsl:for-each select="b:Author/b:ProducerName">
  6802.             <xsl:call-template name="formatPersons"/>
  6803.         </xsl:for-each>
  6804.     </xsl:template>        
  6805.         
  6806.     <xsl:template name="formatCompiler">
  6807.         <xsl:for-each select="b:Author/b:Compiler">
  6808.             <xsl:call-template name="formatPersons"/>
  6809.         </xsl:for-each>
  6810.     </xsl:template>        
  6811.  
  6812.     
  6813.     <xsl:template name="formatDate">
  6814.         <xsl:param name="appendSpace"/>
  6815.         <xsl:call-template name="formatDateCore">
  6816.             <xsl:with-param name="day">
  6817.                 <xsl:call-template name="handleSpaces">
  6818.                     <xsl:with-param name="field" select="b:Day"/>
  6819.                 </xsl:call-template>
  6820.             </xsl:with-param>
  6821.             <xsl:with-param name="month">
  6822.                 <xsl:call-template name="handleSpaces">
  6823.                     <xsl:with-param name="field" select="b:Month"/>
  6824.                 </xsl:call-template>
  6825.             </xsl:with-param>
  6826.             <xsl:with-param name="year">
  6827.                 <xsl:call-template name="handleSpaces">
  6828.                     <xsl:with-param name="field" select="b:Year"/>
  6829.                 </xsl:call-template>
  6830.             </xsl:with-param>
  6831.             
  6832.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_MLA_Date_DMY"/></xsl:with-param>
  6833.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_MLA_Date_DM"/></xsl:with-param>
  6834.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_MLA_Date_MY"/></xsl:with-param>
  6835.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_MLA_Date_DY"/></xsl:with-param>
  6836.         </xsl:call-template>
  6837.     </xsl:template>
  6838.     
  6839.     <xsl:template name="formatDateAccessed">
  6840.         <xsl:call-template name="formatDateCore">
  6841.             <xsl:with-param name="day">
  6842.                 <xsl:call-template name="handleSpaces">
  6843.                     <xsl:with-param name="field" select="b:DayAccessed"/>
  6844.                 </xsl:call-template>
  6845.             </xsl:with-param>
  6846.             <xsl:with-param name="month">
  6847.                 <xsl:call-template name="handleSpaces">
  6848.                     <xsl:with-param name="field" select="b:MonthAccessed"/>
  6849.                 </xsl:call-template>
  6850.             </xsl:with-param>
  6851.             <xsl:with-param name="year">
  6852.                 <xsl:call-template name="handleSpaces">
  6853.                     <xsl:with-param name="field" select="b:YearAccessed"/>
  6854.                 </xsl:call-template>
  6855.             </xsl:with-param>
  6856.             
  6857.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_MLA_Date_DMY"/></xsl:with-param>
  6858.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_MLA_Date_DM"/></xsl:with-param>
  6859.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_MLA_Date_MY"/></xsl:with-param>
  6860.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_MLA_Date_DY"/></xsl:with-param>        
  6861.         </xsl:call-template>
  6862.     </xsl:template>
  6863.     
  6864.     
  6865.         
  6866.         
  6867.         
  6868.         
  6869.     <xsl:template name="MainContributors">
  6870.         <xsl:param name="SourceRoot"/>
  6871.         <xsl:choose>
  6872.             <xsl:when test="./b:SourceType='Book'">
  6873.                 <xsl:choose>
  6874.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6875.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6876.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  6877.                 </xsl:choose>
  6878.             </xsl:when>
  6879.             
  6880.             <xsl:when test="./b:SourceType='BookSection'">
  6881.                 <xsl:choose>
  6882.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6883.                     <xsl:when test="string-length(./b:Author/b:BookAuthor)>0">BookAuthor</xsl:when>
  6884.                 </xsl:choose>
  6885.             </xsl:when>
  6886.             
  6887.             <xsl:when test="./b:SourceType='JournalArticle'">
  6888.                 <xsl:choose>
  6889.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6890.                 </xsl:choose>
  6891.             </xsl:when>
  6892.             
  6893.             <xsl:when test="./b:SourceType='ArticleInAPeriodical'">
  6894.                 <xsl:choose>
  6895.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6896.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6897.                 </xsl:choose>
  6898.             </xsl:when>
  6899.             
  6900.             <xsl:when test="./b:SourceType='ConferenceProceedings'">
  6901.                 <xsl:choose>
  6902.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6903.                 </xsl:choose>
  6904.             </xsl:when>
  6905.             
  6906.             <xsl:when test="./b:SourceType='Report'">
  6907.                 <xsl:choose>
  6908.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6909.                 </xsl:choose>
  6910.             </xsl:when>
  6911.             
  6912.             <xsl:when test="./b:SourceType='SoundRecording'">
  6913.                 <xsl:choose>
  6914.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  6915.                     <xsl:when test="string-length(./b:Author/b:Conductor)>0">Conductor</xsl:when>
  6916.                     <xsl:when test="string-length(./b:Author/b:Composer)>0">Composer</xsl:when>
  6917.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  6918.                 </xsl:choose>
  6919.             </xsl:when>
  6920.                         
  6921.             <xsl:when test="./b:SourceType='Performance'">
  6922.                 <xsl:choose>
  6923.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  6924.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  6925.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  6926.                 </xsl:choose>
  6927.             </xsl:when>
  6928.                         
  6929.             <xsl:when test="./b:SourceType='Art'">
  6930.                 <xsl:choose>
  6931.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  6932.                 </xsl:choose>
  6933.             </xsl:when>
  6934.                                     
  6935.             <xsl:when test="./b:SourceType='DocumentFromInternetSite'">
  6936.                 <xsl:choose>
  6937.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6938.                 </xsl:choose>
  6939.             </xsl:when>
  6940.                                     
  6941.             <xsl:when test="./b:SourceType='InternetSite'">
  6942.                 <xsl:choose>
  6943.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6944.                 </xsl:choose>
  6945.             </xsl:when>
  6946.                                     
  6947.             <xsl:when test="./b:SourceType='Film'">
  6948.                 <xsl:choose>
  6949.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  6950.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  6951.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  6952.                 </xsl:choose>
  6953.             </xsl:when>
  6954.                                     
  6955.             <xsl:when test="./b:SourceType='Interview'">
  6956.                 <xsl:choose>
  6957.                     <xsl:when test="string-length(./b:Author/b:Interviewee)>0">Interviewee</xsl:when>
  6958.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6959.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  6960.                 </xsl:choose>
  6961.             </xsl:when>
  6962.                                     
  6963.             <xsl:when test="./b:SourceType='Patent'">
  6964.                 <xsl:choose>
  6965.                     <xsl:when test="string-length(./b:Author/b:Inventor)>0">Inventor</xsl:when>
  6966.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6967.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  6968.                 </xsl:choose>
  6969.             </xsl:when>
  6970.                                     
  6971.             <xsl:when test="./b:SourceType='ElectronicSource'">
  6972.                 <xsl:choose>
  6973.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6974.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6975.                 </xsl:choose>
  6976.             </xsl:when>
  6977.                                     
  6978.             <xsl:when test="./b:SourceType='Case'">
  6979.                 <xsl:choose>
  6980.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6981.                 </xsl:choose>
  6982.             </xsl:when>
  6983.                                                 
  6984.             <xsl:when test="./b:SourceType='Misc'">
  6985.                 <xsl:choose>
  6986.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6987.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6988.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  6989.                 </xsl:choose>
  6990.             </xsl:when>    
  6991.         </xsl:choose>
  6992.     </xsl:template>
  6993.     
  6994.     
  6995.     
  6996.     <xsl:template name="populateMain">
  6997.         <xsl:param name="Type"/>    
  6998.         <xsl:element name="{$Type}">    
  6999.         
  7000.         <xsl:for-each select="/*[$Type]/b:Source">        
  7001.             <xsl:variable name="MostImportantAuthorLocalName">    
  7002.                 <xsl:call-template name="MainContributors"/>
  7003.             </xsl:variable>
  7004.             <xsl:element name="{'b:Source'}">    
  7005.  
  7006.             <b:SortingString>
  7007.             
  7008.                   <xsl:variable name = "author0">
  7009.                   <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]">
  7010.                     <xsl:call-template name="formatPersonsAuthor"/>
  7011.                   </xsl:for-each>
  7012.                 </xsl:variable>
  7013.  
  7014.                   <xsl:variable name = "author">
  7015.                     <xsl:choose>
  7016.                         <xsl:when test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate) > 0">
  7017.                             <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7018.                         </xsl:when>
  7019.                         <xsl:when test="string-length($author0) > 0">
  7020.                             <xsl:value-of select="$author0"/>
  7021.                         </xsl:when>
  7022.                     </xsl:choose>
  7023.                 </xsl:variable>
  7024.  
  7025.                 <xsl:if test="b:SourceType = 'Performance' or b:SourceType = 'Case' or b:SourceType = 'Film'">
  7026.                     <xsl:if test="string-length(b:Title) > 0">
  7027.                         <xsl:text> </xsl:text>
  7028.                         <xsl:value-of select="b:Title"/>
  7029.                     </xsl:if>
  7030.                 </xsl:if>
  7031.  
  7032.                 <xsl:if test="string-length($author) > 0">
  7033.                     <xsl:text> </xsl:text>
  7034.                     <xsl:value-of select="$author"/>
  7035.                 </xsl:if>
  7036.             
  7037.                 <xsl:if test="not(b:SourceType = 'Performance' or b:SourceType = 'Case' or b:SourceType = 'Film')">
  7038.                     <xsl:if test="string-length(b:Title) > 0">
  7039.                         <xsl:text> </xsl:text>
  7040.                         <xsl:value-of select="b:Title"/>
  7041.                     </xsl:if>
  7042.                 </xsl:if>
  7043.  
  7044.             </b:SortingString>
  7045.             
  7046.         <xsl:if test="$Type='b:Citation'">
  7047.           
  7048.           <b:Title>
  7049.             
  7050.             <xsl:if test="string-length(b:Title)>0">
  7051.               <xsl:value-of select="b:Title"/>
  7052.             </xsl:if>
  7053.             
  7054.             <xsl:if test="string-length(b:Title)=0">
  7055.               <xsl:choose>
  7056.                 <xsl:when test="b:SourceType='Book' or
  7057.                                   b:SourceType='JournalArticle' or
  7058.                                   b:SourceType='ConferenceProceedings' or
  7059.                                   b:SourceType='Report' or
  7060.                                   b:SourceType='Performance' or
  7061.                                   b:SourceType='Film' or
  7062.                                   b:SourceType='Patent' or
  7063.                                   b:SourceType='Case'">
  7064.  
  7065.                   <xsl:value-of select="b:ShortTitle"/>
  7066.                 </xsl:when>
  7067.  
  7068.                 <xsl:when test="b:SourceType='BookSection'">
  7069.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7070.                   <xsl:variable name="bookTitle" select="b:BookTitle"/>
  7071.  
  7072.                   <xsl:choose>
  7073.                     <xsl:when test="string-length($shortTitle)>0">
  7074.                       <xsl:value-of select="$shortTitle"/>
  7075.                     </xsl:when>
  7076.                     <xsl:when test="string-length($bookTitle)>0">
  7077.                       <xsl:value-of select="$bookTitle"/>
  7078.                     </xsl:when>
  7079.                   </xsl:choose>
  7080.  
  7081.                 </xsl:when>
  7082.  
  7083.                 <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  7084.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7085.                   <xsl:variable name="periodicalTitle" select="b:PeriodicalTitle"/>
  7086.  
  7087.                   <xsl:choose>
  7088.                     <xsl:when test="string-length($shortTitle)>0">
  7089.                       <xsl:value-of select="$shortTitle"/>
  7090.                     </xsl:when>
  7091.                     <xsl:when test="string-length($periodicalTitle)>0">
  7092.                       <xsl:value-of select="$periodicalTitle"/>
  7093.                     </xsl:when>
  7094.                   </xsl:choose>
  7095.                 </xsl:when>
  7096.  
  7097.                 <xsl:when test="b:SourceType='InternetSite' or
  7098.                                   b:SourceType='DocumentFromInternetSite'">
  7099.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7100.                   <xsl:variable name="internetSiteTitle" select="b:InternetSiteTitle"/>
  7101.  
  7102.                   <xsl:choose>
  7103.                     <xsl:when test="string-length($shortTitle)>0">
  7104.                       <xsl:value-of select="$shortTitle"/>
  7105.                     </xsl:when>
  7106.                     <xsl:when test="string-length($internetSiteTitle)>0">
  7107.                       <xsl:value-of select="$internetSiteTitle"/>
  7108.                     </xsl:when>
  7109.                   </xsl:choose>
  7110.                 </xsl:when>
  7111.  
  7112.                 <xsl:when test="b:SourceType='ElectronicSource' or
  7113.                                   b:SourceType='Art' or
  7114.                                   b:SourceType='Misc'">
  7115.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7116.                   <xsl:variable name="publicationTitle" select="b:PublicationTitle"/>
  7117.  
  7118.                   <xsl:choose>
  7119.                     <xsl:when test="string-length($shortTitle)>0">
  7120.                       <xsl:value-of select="$shortTitle"/>
  7121.                     </xsl:when>
  7122.                     <xsl:when test="string-length($publicationTitle)>0">
  7123.                       <xsl:value-of select="$publicationTitle"/>
  7124.                     </xsl:when>
  7125.                   </xsl:choose>
  7126.                 </xsl:when>
  7127.  
  7128.                 <xsl:when test="b:SourceType='SoundRecording'">
  7129.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7130.                   <xsl:variable name="albumTitle" select="b:AlbumTitle"/>
  7131.  
  7132.                   <xsl:choose>
  7133.                     <xsl:when test="string-length($shortTitle)>0">
  7134.                       <xsl:value-of select="$shortTitle"/>
  7135.                     </xsl:when>
  7136.                     <xsl:when test="string-length($albumTitle)>0">
  7137.                       <xsl:value-of select="$albumTitle"/>
  7138.                     </xsl:when>
  7139.                   </xsl:choose>
  7140.                 </xsl:when>
  7141.  
  7142.                 <xsl:when test="b:SourceType='Interview'">
  7143.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7144.                   
  7145.                   <xsl:variable name="broadcastTitle" select="b:BroadcastTitle"/>
  7146.                   
  7147.  
  7148.                   <xsl:choose>
  7149.                     <xsl:when test="string-length($shortTitle)>0">
  7150.                       <xsl:value-of select="$shortTitle"/>
  7151.                     </xsl:when>
  7152.                     
  7153.                     <xsl:when test="string-length($broadcastTitle)>0">
  7154.                       <xsl:value-of select="$broadcastTitle"/>
  7155.                     </xsl:when>
  7156.                     
  7157.                   </xsl:choose>
  7158.                 </xsl:when>
  7159.  
  7160.               </xsl:choose>
  7161.             </xsl:if>
  7162.           </b:Title>
  7163.         </xsl:if>
  7164.         <b:Author>        
  7165.                     <b:Main>
  7166.                         <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)=0">
  7167.                             <b:NameList>
  7168.                                 <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:NameList/b:Person">    
  7169.                                     <b:Person>        
  7170.                                         <b:Last><xsl:value-of select="./b:Last"/></b:Last>
  7171.                                         <b:First><xsl:value-of select="./b:First"/></b:First>
  7172.                                         <b:Middle><xsl:value-of select="./b:Middle"/></b:Middle>
  7173.                                     </b:Person>
  7174.                                 </xsl:for-each>
  7175.                             </b:NameList>
  7176.                         </xsl:if>
  7177.                         <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)>0">
  7178.                             <b:Corporate>
  7179.                               <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7180.                             </b:Corporate>
  7181.                         </xsl:if>
  7182.                     </b:Main>
  7183.                     <xsl:for-each select="./b:Author/*">    
  7184.                         
  7185.                             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7186.                                 <xsl:call-template name="copyNameNodes"/>    
  7187.                             </xsl:element>
  7188.                         
  7189.                     </xsl:for-each>
  7190.                 </b:Author>
  7191.                 <xsl:for-each select="*">    
  7192.           <xsl:if test="name()!='Author' and not(name()='Title' and $Type='b:Citation')">
  7193.                             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7194.                                 <xsl:call-template name="copyNodes"/>    
  7195.                             </xsl:element>
  7196.                         </xsl:if>
  7197.                 </xsl:for-each>
  7198.             </xsl:element>
  7199.             <xsl:for-each select="../*">    
  7200.                         <xsl:if test="local-name()!='Source' and namespace-uri()='http://schemas.openxmlformats.org/officeDocument/2006/bibliography'">
  7201.                             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7202.                                 <xsl:call-template name="copyNodes"/>    
  7203.                             </xsl:element>
  7204.                         </xsl:if>
  7205.             </xsl:for-each>
  7206.         </xsl:for-each>
  7207.         
  7208.       <xsl:copy-of select="/*[$Type]/b:Locals"/>
  7209.     </xsl:element>
  7210.   </xsl:template>
  7211.  
  7212.   
  7213.     <xsl:template name="copyNameNodes">
  7214.         <xsl:if test="string-length(b:Corporate)=0">
  7215.             <b:NameList>
  7216.                 <xsl:for-each select="b:NameList/b:Person">    
  7217.                     <b:Person>            
  7218.                             <xsl:if test="string-length(./b:Last)>0">    
  7219.                             <b:Last>
  7220.                                 <xsl:value-of select="./b:Last"/>
  7221.                             </b:Last>
  7222.                         </xsl:if>
  7223.                         <xsl:if test="string-length(./b:First)>0">
  7224.                             <b:First>
  7225.                                 <xsl:value-of select="./b:First"/>
  7226.                             </b:First>
  7227.                         </xsl:if>
  7228.                         <xsl:if test="string-length(./b:Middle)>0">
  7229.                             <b:Middle>
  7230.                                 <xsl:value-of select="./b:Middle"/>
  7231.                             </b:Middle>
  7232.                         </xsl:if>
  7233.                     </b:Person>
  7234.                 </xsl:for-each>
  7235.             </b:NameList>
  7236.         </xsl:if>
  7237.         <xsl:if test="string-length(b:Corporate)>0">
  7238.             <b:Corporate>
  7239.               <xsl:value-of select="b:Corporate"/>
  7240.             </b:Corporate>
  7241.         </xsl:if>
  7242.     </xsl:template>
  7243.     
  7244.     
  7245.     <xsl:template name="copyNodes">
  7246.         <xsl:value-of select="."/>
  7247.  
  7248.     </xsl:template>
  7249.  
  7250.     <xsl:template name="copyNodes2">
  7251.             <xsl:for-each select="@*">
  7252.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  7253.                     <xsl:value-of select="."/>
  7254.                 </xsl:attribute>
  7255.             </xsl:for-each>
  7256.             <xsl:for-each select="*">
  7257.                 <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7258.                     <xsl:call-template name="copyNodes2"/>    
  7259.                 </xsl:element>
  7260.             </xsl:for-each>
  7261.  
  7262.     </xsl:template>
  7263.  
  7264.  
  7265.     <xsl:template name="handleSpaces">
  7266.         <xsl:param name="field"/>
  7267.  
  7268.     <xsl:variable name="prop_NormalizeSpace">
  7269.       <xsl:call-template name="templ_prop_NormalizeSpace"/>
  7270.     </xsl:variable>
  7271.  
  7272.     <xsl:choose>
  7273.             <xsl:when test="$prop_NormalizeSpace='yes'">
  7274.                 <xsl:value-of select="normalize-space($field)"/>
  7275.             </xsl:when>
  7276.             <xsl:otherwise>
  7277.                 <xsl:value-of select="$field"/>
  7278.             </xsl:otherwise>
  7279.         </xsl:choose>
  7280.     </xsl:template>
  7281.     
  7282.     
  7283.     <xsl:template name="appendField_Dot">
  7284.         <xsl:param name="field"/>
  7285.         
  7286.         <xsl:variable name="temp">
  7287.             <xsl:call-template name="handleSpaces">
  7288.                 <xsl:with-param name="field" select="$field"/>
  7289.             </xsl:call-template>
  7290.         </xsl:variable>
  7291.  
  7292.     <xsl:variable name="prop_EndChars">
  7293.       <xsl:call-template name="templ_prop_EndChars"/>
  7294.     </xsl:variable>
  7295.  
  7296.     <xsl:variable name="lastChar">
  7297.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  7298.         </xsl:variable>
  7299.  
  7300.         <xsl:choose>
  7301.             <xsl:when test="string-length($temp) = 0">
  7302.             </xsl:when>
  7303.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7304.                 <xsl:value-of select="$temp"/>
  7305.             </xsl:when>
  7306.             <xsl:otherwise>
  7307.                 <xsl:value-of select="$temp"/>
  7308.                 <xsl:call-template name="templ_prop_Dot"/>
  7309.             </xsl:otherwise>
  7310.         </xsl:choose>
  7311.         
  7312.     </xsl:template>
  7313.     
  7314.  
  7315.     <xsl:template name="appendFieldNoHandleSpaces_Dot">
  7316.         <xsl:param name="field"/>
  7317.         
  7318.         <xsl:variable name="lastChar">
  7319.             <xsl:value-of select="substring($field, string-length($field))"/>
  7320.         </xsl:variable>
  7321.  
  7322.     <xsl:variable name="prop_EndChars">
  7323.       <xsl:call-template name="templ_prop_EndChars"/>
  7324.     </xsl:variable>
  7325.  
  7326.     <xsl:choose>
  7327.             <xsl:when test="string-length($field) = 0">
  7328.             </xsl:when>
  7329.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7330.                 <xsl:value-of select="$field"/>
  7331.             </xsl:when>
  7332.             <xsl:otherwise>
  7333.                 <xsl:value-of select="$field"/>
  7334.                 <xsl:call-template name="templ_prop_Dot"/>
  7335.             </xsl:otherwise>
  7336.         </xsl:choose>
  7337.         
  7338.     </xsl:template>
  7339.  
  7340.  
  7341.     <xsl:template name="templateA">
  7342.         <xsl:param name="first"/>
  7343.         <xsl:param name="second"/>
  7344.         <xsl:param name="third"/>
  7345.         
  7346.         <xsl:variable name="tempFirst">
  7347.             <xsl:call-template name="handleSpaces">
  7348.                 <xsl:with-param name="field" select="$first"/>
  7349.             </xsl:call-template>
  7350.         </xsl:variable>
  7351.         
  7352.         <xsl:variable name="tempSecond">
  7353.             <xsl:call-template name="handleSpaces">
  7354.                 <xsl:with-param name="field" select="$second"/>
  7355.             </xsl:call-template>
  7356.         </xsl:variable>
  7357.  
  7358.         <xsl:variable name="tempThird">
  7359.             <xsl:call-template name="handleSpaces">
  7360.                 <xsl:with-param name="field" select="$third"/>
  7361.             </xsl:call-template>
  7362.         </xsl:variable>
  7363.  
  7364.         <xsl:variable name="temp">
  7365.             <xsl:if test="string-length($tempFirst)>0">
  7366.                 <xsl:value-of select="$tempFirst"/>
  7367.             </xsl:if>
  7368.  
  7369.               <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7370.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7371.             </xsl:if>
  7372.  
  7373.             <xsl:if test="string-length($tempSecond)>0">
  7374.                 <xsl:value-of select="$tempSecond"/>
  7375.             </xsl:if>
  7376.  
  7377.               <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  7378.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7379.             </xsl:if>
  7380.  
  7381.             <xsl:if test="string-length($tempThird)>0">
  7382.                 <xsl:value-of select="$tempThird"/>
  7383.             </xsl:if>
  7384.         </xsl:variable>
  7385.  
  7386.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7387.             <xsl:with-param name="field" select="$temp"/>
  7388.         </xsl:call-template>        
  7389.     </xsl:template>
  7390.  
  7391.  
  7392.     <xsl:template name="templateB">
  7393.         <xsl:param name="first"/>
  7394.         <xsl:param name="second"/>
  7395.         
  7396.         <xsl:variable name="tempFirst">
  7397.             <xsl:call-template name="handleSpaces">
  7398.                 <xsl:with-param name="field" select="$first"/>
  7399.             </xsl:call-template>
  7400.         </xsl:variable>
  7401.         
  7402.         <xsl:variable name="tempSecond">
  7403.             <xsl:call-template name="handleSpaces">
  7404.                 <xsl:with-param name="field" select="$second"/>
  7405.             </xsl:call-template>
  7406.         </xsl:variable>
  7407.  
  7408.         <xsl:variable name="temp">
  7409.             <xsl:if test="string-length($tempFirst)>0">
  7410.                 <xsl:value-of select="$tempFirst"/>
  7411.             </xsl:if>
  7412.  
  7413.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7414.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7415.             </xsl:if>
  7416.  
  7417.             <xsl:if test="string-length($tempSecond)>0">
  7418.                 <xsl:value-of select="$tempSecond"/>
  7419.             </xsl:if>
  7420.  
  7421.         </xsl:variable>
  7422.  
  7423.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7424.             <xsl:with-param name="field" select="$temp"/>
  7425.         </xsl:call-template>
  7426.         
  7427.     </xsl:template>
  7428.  
  7429.     <xsl:template name="templateC">
  7430.         <xsl:param name="first"/>
  7431.         <xsl:param name="second"/>
  7432.         
  7433.         <xsl:variable name="tempFirst">
  7434.             <xsl:call-template name="handleSpaces">
  7435.                 <xsl:with-param name="field" select="$first"/>
  7436.             </xsl:call-template>
  7437.         </xsl:variable>
  7438.         
  7439.         <xsl:variable name="tempSecond">
  7440.             <xsl:call-template name="handleSpaces">
  7441.                 <xsl:with-param name="field" select="$second"/>
  7442.             </xsl:call-template>
  7443.         </xsl:variable>
  7444.  
  7445.         <xsl:variable name="temp">
  7446.             <xsl:if test="string-length($tempFirst)>0">
  7447.                 <xsl:value-of select="$tempFirst"/>
  7448.             </xsl:if>
  7449.  
  7450.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7451.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7452.             </xsl:if>
  7453.  
  7454.             <xsl:if test="string-length($tempSecond)>0">
  7455.                 <xsl:value-of select="$tempSecond"/>
  7456.             </xsl:if>
  7457.  
  7458.         </xsl:variable>
  7459.  
  7460.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7461.             <xsl:with-param name="field" select="$temp"/>
  7462.         </xsl:call-template>
  7463.     </xsl:template>
  7464.  
  7465.  
  7466.     <xsl:template name="templateD">
  7467.         <xsl:param name="first"/>
  7468.         <xsl:param name="second"/>
  7469.         <xsl:param name="third"/>
  7470.         
  7471.         <xsl:variable name="tempFirst">
  7472.             <xsl:call-template name="handleSpaces">
  7473.                 <xsl:with-param name="field" select="$first"/>
  7474.             </xsl:call-template>
  7475.         </xsl:variable>
  7476.         
  7477.         <xsl:variable name="tempSecond">
  7478.             <xsl:call-template name="handleSpaces">
  7479.                 <xsl:with-param name="field" select="$second"/>
  7480.             </xsl:call-template>
  7481.         </xsl:variable>
  7482.  
  7483.         <xsl:variable name="tempThird">
  7484.             <xsl:call-template name="handleSpaces">
  7485.                 <xsl:with-param name="field" select="$third"/>
  7486.             </xsl:call-template>
  7487.         </xsl:variable>
  7488.  
  7489.         <xsl:variable name="temp">
  7490.             <xsl:if test="string-length($tempFirst)>0">
  7491.                 <xsl:value-of select="$tempFirst"/>
  7492.             </xsl:if>
  7493.  
  7494.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7495.                 <xsl:call-template name="templ_prop_Space"/>
  7496.             </xsl:if>
  7497.  
  7498.             <xsl:if test="string-length($tempSecond)>0">
  7499.                 <xsl:call-template name="templ_prop_OpenBracket"/>
  7500.                 <xsl:value-of select="$tempSecond"/>
  7501.                 <xsl:call-template name="templ_prop_CloseBracket"/>
  7502.             </xsl:if>
  7503.  
  7504.             <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  7505.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7506.             </xsl:if>
  7507.  
  7508.             <xsl:if test="string-length($tempThird)>0">
  7509.                 <xsl:value-of select="$tempThird"/>
  7510.             </xsl:if>
  7511.         </xsl:variable>
  7512.  
  7513.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7514.             <xsl:with-param name="field" select="$temp"/>
  7515.         </xsl:call-template>        
  7516.     </xsl:template>
  7517.  
  7518.  
  7519.     <xsl:template name="templateE">
  7520.         <xsl:param name="first"/>
  7521.         <xsl:param name="second"/>
  7522.         <xsl:param name="third"/>
  7523.         
  7524.         <xsl:variable name="tempFirst">
  7525.             <xsl:call-template name="handleSpaces">
  7526.                 <xsl:with-param name="field" select="$first"/>
  7527.             </xsl:call-template>
  7528.         </xsl:variable>
  7529.         
  7530.         <xsl:variable name="tempSecond">
  7531.             <xsl:call-template name="handleSpaces">
  7532.                 <xsl:with-param name="field" select="$second"/>
  7533.             </xsl:call-template>
  7534.         </xsl:variable>
  7535.  
  7536.         <xsl:variable name="tempThird">
  7537.             <xsl:call-template name="handleSpaces">
  7538.                 <xsl:with-param name="field" select="$third"/>
  7539.             </xsl:call-template>
  7540.         </xsl:variable>
  7541.  
  7542.         <xsl:variable name="temp">
  7543.             <xsl:if test="string-length($tempFirst)>0">
  7544.                 <xsl:value-of select="$tempFirst"/>
  7545.             </xsl:if>
  7546.  
  7547.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7548.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7549.             </xsl:if>
  7550.  
  7551.             <xsl:if test="string-length($tempSecond)>0">
  7552.                 <xsl:value-of select="$tempSecond"/>
  7553.             </xsl:if>
  7554.  
  7555.             <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  7556.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7557.             </xsl:if>
  7558.  
  7559.             <xsl:if test="string-length($tempThird)>0">
  7560.                 <xsl:value-of select="$tempThird"/>
  7561.             </xsl:if>
  7562.         </xsl:variable>
  7563.  
  7564.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7565.             <xsl:with-param name="field" select="$temp"/>
  7566.         </xsl:call-template>        
  7567.     </xsl:template>
  7568.  
  7569.  
  7570.     <xsl:template name="templateCPY">
  7571.         <xsl:call-template name="templateA">
  7572.             <xsl:with-param name="first" select="b:City"/>
  7573.             <xsl:with-param name="second" select="b:Publisher"/>
  7574.             <xsl:with-param name="third">
  7575.                 <xsl:call-template name="getYear" />
  7576.             </xsl:with-param>
  7577.         </xsl:call-template>        
  7578.     </xsl:template>
  7579.  
  7580.     <xsl:template name="templateCPcY">
  7581.         <xsl:call-template name="templateA">
  7582.             <xsl:with-param name="first" select="b:City"/>
  7583.             <xsl:with-param name="second" select="b:ProductionCompany"/>
  7584.             <xsl:with-param name="third">
  7585.                 <xsl:call-template name="getYear" />
  7586.             </xsl:with-param>
  7587.         </xsl:call-template>        
  7588.     </xsl:template>
  7589.  
  7590.     <xsl:template name="templateIYP">
  7591.         <xsl:call-template name="templateD">
  7592.             <xsl:with-param name="first" select="b:Issue"/>
  7593.             <xsl:with-param name="second">
  7594.                 <xsl:call-template name="getYear" />
  7595.             </xsl:with-param>
  7596.             <xsl:with-param name="third" select="b:Pages"/>
  7597.         </xsl:call-template>        
  7598.     </xsl:template>
  7599.  
  7600.     <xsl:template name="templateVYP">
  7601.         <xsl:call-template name="templateD">
  7602.             <xsl:with-param name="first" select="b:Volume"/>
  7603.             <xsl:with-param name="second">
  7604.                 <xsl:call-template name="getYear" />
  7605.             </xsl:with-param>
  7606.             <xsl:with-param name="third" select="b:Pages"/>
  7607.         </xsl:call-template>        
  7608.     </xsl:template>
  7609.  
  7610.     <xsl:template name="templateDEP">
  7611.  
  7612.         <xsl:variable name="date">
  7613.             <xsl:call-template name="formatDate"/>
  7614.         </xsl:variable>
  7615.         
  7616.         <xsl:variable name="editionTemp">
  7617.             <xsl:call-template name="handleSpaces">
  7618.                 <xsl:with-param name="field" select="b:Edition"/>
  7619.             </xsl:call-template>
  7620.         </xsl:variable>
  7621.  
  7622.         <xsl:variable name="edition">
  7623.             <xsl:choose>
  7624.                 <xsl:when test="string-length($editionTemp)>0">
  7625.                     <xsl:call-template name="StringFormat">
  7626.                           <xsl:with-param name="format">
  7627.                             <xsl:call-template name="templ_str_EditionShortUnCap"/>
  7628.                           </xsl:with-param>
  7629.                           <xsl:with-param name="parameters">
  7630.                               <t:params>
  7631.                                   <t:param>
  7632.                                     <xsl:value-of select="$editionTemp"/>
  7633.                                 </t:param>
  7634.                               </t:params>
  7635.                           </xsl:with-param>
  7636.                     </xsl:call-template>
  7637.                 </xsl:when>
  7638.             </xsl:choose>
  7639.         </xsl:variable>
  7640.     
  7641.         <xsl:call-template name="templateE">
  7642.             <xsl:with-param name="first" select="$date"/>
  7643.             <xsl:with-param name="second" select="$edition"/>
  7644.             <xsl:with-param name="third" select="b:Pages"/>
  7645.         </xsl:call-template>        
  7646.     </xsl:template>
  7647.  
  7648.     <xsl:template name="templateTC">
  7649.         <xsl:call-template name="templateC">
  7650.             <xsl:with-param name="first" select="b:Theater"/>
  7651.             <xsl:with-param name="second" select="b:City"/>
  7652.         </xsl:call-template>        
  7653.     </xsl:template>
  7654.  
  7655.     <xsl:template name="templateIC">
  7656.         <xsl:call-template name="templateC">
  7657.             <xsl:with-param name="first" select="b:Institution"/>
  7658.             <xsl:with-param name="second" select="b:City"/>
  7659.         </xsl:call-template>        
  7660.     </xsl:template>
  7661.  
  7662.     <xsl:template name="templateIY">
  7663.         <xsl:call-template name="templateC">
  7664.             <xsl:with-param name="first" select="b:Institution"/>
  7665.             <xsl:with-param name="second">
  7666.                 <xsl:call-template name="getYear" />
  7667.             </xsl:with-param>
  7668.         </xsl:call-template>        
  7669.     </xsl:template>
  7670.  
  7671.  
  7672.     <xsl:template name="templateDY">
  7673.         <xsl:call-template name="templateC">
  7674.             <xsl:with-param name="first" select="b:Distributor"/>
  7675.             <xsl:with-param name="second">
  7676.                 <xsl:call-template name="getYear" />
  7677.             </xsl:with-param>
  7678.         </xsl:call-template>        
  7679.     </xsl:template>
  7680.     
  7681.     <xsl:template name="templateCPD">
  7682.         <xsl:variable name="date">
  7683.             <xsl:call-template name="formatDate"/>
  7684.         </xsl:variable>
  7685.         
  7686.         <xsl:call-template name="templateA">
  7687.             <xsl:with-param name="first" select="b:City"/>
  7688.             <xsl:with-param name="second" select="b:Publisher"/>
  7689.             <xsl:with-param name="third" select="$date"/>
  7690.         </xsl:call-template>        
  7691.     </xsl:template>
  7692.     
  7693.     <xsl:template name="templateSC">
  7694.         <xsl:call-template name="templateC">
  7695.             <xsl:with-param name="first" select="b:Station"/>
  7696.             <xsl:with-param name="second" select="b:City"/>
  7697.         </xsl:call-template>        
  7698.     </xsl:template>
  7699.     
  7700.  
  7701.     <xsl:template name="templateCP">
  7702.         <xsl:variable name="patentTemp">
  7703.             <xsl:call-template name="handleSpaces">
  7704.                 <xsl:with-param name="field" select="b:PatentNumber"/>
  7705.             </xsl:call-template>
  7706.         </xsl:variable>
  7707.  
  7708.     <xsl:variable name="str_PatentCap">
  7709.       <xsl:call-template name="templ_str_PatentCap"/>
  7710.     </xsl:variable>
  7711.  
  7712.     <xsl:variable name="patent">
  7713.             <xsl:choose>
  7714.                 <xsl:when test="string-length($patentTemp)>0">
  7715.                     <xsl:call-template name="StringFormat">
  7716.                           <xsl:with-param name="format" select="$str_PatentCap"/>
  7717.                         
  7718.                           <xsl:with-param name="parameters">
  7719.                               <t:params>
  7720.                                   <t:param>
  7721.                                       <xsl:value-of select="$patentTemp"/>
  7722.                                 </t:param>
  7723.                               </t:params>
  7724.                           </xsl:with-param>
  7725.                     </xsl:call-template>
  7726.                 </xsl:when>
  7727.             </xsl:choose>
  7728.         </xsl:variable>
  7729.         <xsl:call-template name="templateB">
  7730.             <xsl:with-param name="first" select="b:CountryRegion"/>
  7731.             <xsl:with-param name="second" select="$patent"/>
  7732.         </xsl:call-template>        
  7733.     </xsl:template>
  7734.  
  7735.  
  7736.     <xsl:template name="templateCD">
  7737.         <xsl:variable name="date">
  7738.             <xsl:call-template name="formatDate"/>
  7739.         </xsl:variable>
  7740.         <xsl:call-template name="templateB">
  7741.             <xsl:with-param name="first" select="b:City"/>
  7742.             <xsl:with-param name="second" select="$date"/>
  7743.         </xsl:call-template>        
  7744.     </xsl:template>
  7745.  
  7746.     <xsl:template name="templateVIYP">
  7747.  
  7748.         <xsl:variable name="volume">
  7749.             <xsl:call-template name="handleSpaces">
  7750.                 <xsl:with-param name="field" select="b:Volume"/>
  7751.             </xsl:call-template>
  7752.         </xsl:variable>
  7753.  
  7754.         <xsl:variable name="issue">
  7755.             <xsl:call-template name="handleSpaces">
  7756.                 <xsl:with-param name="field" select="b:Issue"/>
  7757.             </xsl:call-template>
  7758.         </xsl:variable>
  7759.  
  7760.         <xsl:variable name="year">
  7761.             <xsl:call-template name="handleSpaces">
  7762.                 <xsl:with-param name="field">
  7763.                     <xsl:call-template name="getYear" />
  7764.                 </xsl:with-param>
  7765.             </xsl:call-template>
  7766.         </xsl:variable>
  7767.  
  7768.         <xsl:variable name="pages">
  7769.             <xsl:call-template name="handleSpaces">
  7770.                 <xsl:with-param name="field" select="b:Pages"/>
  7771.             </xsl:call-template>
  7772.         </xsl:variable>
  7773.  
  7774.         <xsl:variable name="temp">
  7775.             <xsl:if test="string-length($volume)>0">
  7776.                 <xsl:value-of select="$volume"/>
  7777.             </xsl:if>
  7778.  
  7779.             <xsl:if test="string-length($volume)>0 and string-length($issue)>0">
  7780.                 <xsl:call-template name="templ_prop_Dot"/>
  7781.             </xsl:if>
  7782.             
  7783.             <xsl:if test="string-length($issue)>0">
  7784.                 <xsl:value-of select="$issue"/>
  7785.             </xsl:if>
  7786.  
  7787.             <xsl:if test="string-length($year)>0">
  7788.                 <xsl:call-template name="templ_prop_Space"/>
  7789.                 <xsl:call-template name="templ_prop_OpenBracket"/>
  7790.                 <xsl:value-of select="$year"/>
  7791.                     <xsl:call-template name="templ_prop_CloseBracket"/>
  7792.             </xsl:if>
  7793.             
  7794.             <xsl:if test="(string-length($volume)>0 or string-length($issue)>0 or string-length($year)>0) and (string-length($pages)>0)">
  7795.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7796.             </xsl:if>
  7797.  
  7798.             <xsl:if test="string-length($pages)>0">
  7799.                 <xsl:value-of select="$pages"/>
  7800.             </xsl:if>
  7801.         </xsl:variable>
  7802.         
  7803.         <xsl:call-template name="appendField_Dot">
  7804.             <xsl:with-param name="field" select="$temp"/>
  7805.         </xsl:call-template>
  7806.         
  7807.         
  7808.     </xsl:template>
  7809.     <xsl:template name="need_Dot">
  7810.         <xsl:param name="field"/>
  7811.         
  7812.         <xsl:variable name="temp">
  7813.             <xsl:call-template name="handleSpaces">
  7814.                 <xsl:with-param name="field" select="$field"/>
  7815.             </xsl:call-template>
  7816.         </xsl:variable>
  7817.     <xsl:variable name="prop_EndChars">
  7818.       <xsl:call-template name="templ_prop_EndChars"/>
  7819.     </xsl:variable>
  7820.  
  7821.     <xsl:variable name="lastChar">
  7822.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  7823.         </xsl:variable>
  7824.  
  7825.         <xsl:choose>
  7826.             <xsl:when test="string-length($temp) = 0">
  7827.             </xsl:when>
  7828.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7829.             </xsl:when>
  7830.             <xsl:otherwise>
  7831.                 <xsl:call-template name="templ_prop_Dot"/>
  7832.             </xsl:otherwise>
  7833.         </xsl:choose>
  7834.     </xsl:template>
  7835.     
  7836.     
  7837.  
  7838.  
  7839.     <xsl:template name="formatNameCore">
  7840.         <xsl:param name="FML"/>
  7841.         <xsl:param name="FM"/>
  7842.         <xsl:param name="ML"/>
  7843.         <xsl:param name="FL"/>
  7844.         <xsl:param name="upperLast"/>
  7845.         <xsl:param name="withDot"/>
  7846.  
  7847.         <xsl:variable name="first">
  7848.             <xsl:call-template name="handleSpaces">
  7849.                 <xsl:with-param name="field" select="b:First"/>
  7850.             </xsl:call-template>
  7851.         </xsl:variable>
  7852.  
  7853.         <xsl:variable name="middle">
  7854.             <xsl:call-template name="handleSpaces">
  7855.                 <xsl:with-param name="field" select="b:Middle"/>
  7856.             </xsl:call-template>
  7857.         </xsl:variable>
  7858.  
  7859.         <xsl:variable name="last">
  7860.             <xsl:call-template name="handleSpaces">
  7861.                 <xsl:with-param name="field" select="b:Last"/>
  7862.             </xsl:call-template>
  7863.         </xsl:variable>
  7864.         
  7865.         <xsl:variable name="format">
  7866.             <xsl:choose>
  7867.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  7868.                 </xsl:when>
  7869.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  7870.                     <xsl:call-template name="templ_prop_SimpleAuthor_L" />
  7871.                 </xsl:when>
  7872.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  7873.           <xsl:call-template name="templ_prop_SimpleAuthor_M" />
  7874.                 </xsl:when>
  7875.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  7876.                     <xsl:value-of select="$ML"/>
  7877.                 </xsl:when>
  7878.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  7879.                     <xsl:call-template name="templ_prop_SimpleAuthor_F" />
  7880.                 </xsl:when>
  7881.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  7882.                     <xsl:value-of select="$FL"/>
  7883.                 </xsl:when>
  7884.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  7885.                     <xsl:value-of select="$FM"/>
  7886.                 </xsl:when>
  7887.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  7888.                     <xsl:value-of select="$FML"/>
  7889.                 </xsl:when>
  7890.             </xsl:choose>
  7891.         </xsl:variable>
  7892.         
  7893.         <xsl:call-template name="StringFormatName">
  7894.             <xsl:with-param name="format" select="$format"/>
  7895.             <xsl:with-param name="upperLast" select="$upperLast"/>
  7896.             <xsl:with-param name="withDot" select="$withDot"/>
  7897.         </xsl:call-template>
  7898.         
  7899.     </xsl:template>
  7900.  
  7901.     <xsl:template name="formatDateCorePrivate">
  7902.         <xsl:param name="DMY"/>
  7903.         <xsl:param name="DM"/>
  7904.         <xsl:param name="MY"/>
  7905.         <xsl:param name="DY"/>
  7906.  
  7907.         <xsl:param name="day"/>
  7908.         <xsl:param name="month"/>
  7909.         <xsl:param name="year"/>
  7910.         
  7911.         <xsl:param name="withDot"/>
  7912.         
  7913.         <xsl:variable name="format">
  7914.             <xsl:choose>
  7915.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) = 0 ">
  7916.                 </xsl:when>
  7917.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) != 0 ">
  7918.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  7919.                 </xsl:when>
  7920.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) = 0 ">
  7921.                 </xsl:when>
  7922.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) != 0 ">
  7923.                     <xsl:value-of select="$MY"/>
  7924.                 </xsl:when>
  7925.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) = 0 ">
  7926.                 </xsl:when>
  7927.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) != 0 ">
  7928.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  7929.                 </xsl:when>
  7930.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) = 0 ">
  7931.                 </xsl:when>
  7932.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) != 0 ">
  7933.                     <xsl:value-of select="$DMY"/>
  7934.                 </xsl:when>
  7935.             </xsl:choose>
  7936.         </xsl:variable>
  7937.         
  7938.         <xsl:call-template name="StringFormatDate">
  7939.             <xsl:with-param name="format" select="$format"/>
  7940.  
  7941.             <xsl:with-param name="day" select="$day"/>
  7942.             <xsl:with-param name="month" select="$month"/>
  7943.             <xsl:with-param name="year" select="$year"/>
  7944.  
  7945.             <xsl:with-param name="withDot" select="$withDot"/>
  7946.         </xsl:call-template>
  7947.         
  7948.     </xsl:template>
  7949.  
  7950.     <xsl:template name="StringFormatName">
  7951.         <xsl:param name="format" />
  7952.         <xsl:param name="withDot" />
  7953.         <xsl:param name="upperLast"/>
  7954.  
  7955.     <xsl:variable name="prop_EndChars">
  7956.       <xsl:call-template name="templ_prop_EndChars"/>
  7957.     </xsl:variable>
  7958.  
  7959.     <xsl:choose>
  7960.             <xsl:when test="$format = ''"></xsl:when>
  7961.             <xsl:when test="substring($format, 1, 2) = '%%'">
  7962.                 <xsl:text>%</xsl:text>
  7963.                 <xsl:call-template name="StringFormatName">
  7964.                     <xsl:with-param name="format" select="substring($format, 3)" />
  7965.                     <xsl:with-param name="withDot" select="$withDot" />
  7966.                     <xsl:with-param name="upperLast" select="$upperLast" />
  7967.                 </xsl:call-template>
  7968.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  7969.                     <xsl:call-template name="templ_prop_Dot"/>
  7970.                 </xsl:if>
  7971.             </xsl:when>
  7972.             <xsl:when test="substring($format, 1, 1) = '%'">
  7973.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  7974.                 
  7975.                 <xsl:choose>
  7976.                     <xsl:when test="(what = 'l' or what = 'L') and upperLast = 'yes'">
  7977.                         <span style='text-transform: uppercase;'>
  7978.                             <xsl:call-template name="formatNameOneItem">
  7979.                                 <xsl:with-param name="format" select="$what"/>
  7980.                             </xsl:call-template>
  7981.                         </span>
  7982.                     </xsl:when>
  7983.                     <xsl:otherwise>
  7984.                         <xsl:call-template name="formatNameOneItem">
  7985.                             <xsl:with-param name="format" select="$what"/>
  7986.                         </xsl:call-template>
  7987.                     </xsl:otherwise>
  7988.                 </xsl:choose>
  7989.                 <xsl:call-template name="StringFormatName">
  7990.                     <xsl:with-param name="format" select="substring($format, 3)" />
  7991.                     <xsl:with-param name="withDot" select="$withDot" />
  7992.                     <xsl:with-param name="upperLast" select="$upperLast" />
  7993.                 </xsl:call-template>
  7994.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  7995.                     <xsl:variable name="temp2">
  7996.                         <xsl:call-template name="handleSpaces">
  7997.                             <xsl:with-param name="field">
  7998.                                 <xsl:call-template name="formatNameOneItem">
  7999.                                     <xsl:with-param name="format" select="$what"/>
  8000.                                 </xsl:call-template>
  8001.                             </xsl:with-param>
  8002.                         </xsl:call-template>
  8003.                     </xsl:variable>                
  8004.                     <xsl:variable name="lastChar">
  8005.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  8006.                     </xsl:variable>
  8007.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  8008.                         <xsl:call-template name="templ_prop_Dot"/>
  8009.                     </xsl:if>
  8010.                 </xsl:if>
  8011.             </xsl:when>
  8012.             <xsl:otherwise>
  8013.                 <xsl:value-of select="substring($format, 1, 1)" />
  8014.                 <xsl:call-template name="StringFormatName">
  8015.                     <xsl:with-param name="format" select="substring($format, 2)" />
  8016.                     <xsl:with-param name="withDot" select="$withDot" />
  8017.                     <xsl:with-param name="upperLast" select="$upperLast" />
  8018.                 </xsl:call-template>
  8019.                 <xsl:if test="string-length($format)=1">
  8020.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  8021.                         <xsl:call-template name="templ_prop_Dot"/>
  8022.                     </xsl:if>
  8023.                 </xsl:if>
  8024.             </xsl:otherwise>
  8025.         </xsl:choose>
  8026.     </xsl:template>    
  8027.  
  8028.     <xsl:template name="StringFormatDate">
  8029.         <xsl:param name="format" />
  8030.         
  8031.         <xsl:param name="day"/>
  8032.         <xsl:param name="month"/>
  8033.         <xsl:param name="year"/>        
  8034.         
  8035.         <xsl:param name="withDot" />
  8036.  
  8037.     <xsl:variable name="prop_EndChars">
  8038.       <xsl:call-template name="templ_prop_EndChars"/>
  8039.     </xsl:variable>
  8040.  
  8041.     <xsl:choose>
  8042.             <xsl:when test="$format = ''"></xsl:when>
  8043.             <xsl:when test="substring($format, 1, 2) = '%%'">
  8044.                 <xsl:text>%</xsl:text>
  8045.                 <xsl:call-template name="StringFormatDate">
  8046.                     <xsl:with-param name="format" select="substring($format, 3)" />
  8047.                     <xsl:with-param name="day" select="$day"/>
  8048.                     <xsl:with-param name="month" select="$month"/>
  8049.                     <xsl:with-param name="year" select="$year"/>
  8050.                     <xsl:with-param name="withDot" select="$withDot" />
  8051.                 </xsl:call-template>
  8052.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  8053.                     <xsl:call-template name="templ_prop_Dot"/>
  8054.                 </xsl:if>
  8055.             </xsl:when>
  8056.             <xsl:when test="substring($format, 1, 1) = '%'">
  8057.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  8058.                 <xsl:choose>
  8059.                     <xsl:when test="$what = 'D'">
  8060.                         <xsl:value-of select="$day"/>
  8061.                     </xsl:when>
  8062.                     <xsl:when test="$what = 'M'">
  8063.                         <xsl:value-of select="$month"/>
  8064.                     </xsl:when>
  8065.                     <xsl:when test="$what = 'Y'">
  8066.                         <xsl:value-of select="$year"/>
  8067.                     </xsl:when>
  8068.                 </xsl:choose>
  8069.                 <xsl:call-template name="StringFormatDate">
  8070.                     <xsl:with-param name="format" select="substring($format, 3)" />
  8071.                     <xsl:with-param name="day" select="$day"/>
  8072.                     <xsl:with-param name="month" select="$month"/>
  8073.                     <xsl:with-param name="year" select="$year"/>
  8074.                     <xsl:with-param name="withDot" select="$withDot" />
  8075.                 </xsl:call-template>
  8076.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  8077.                     <xsl:variable name="temp2">
  8078.                         <xsl:call-template name="handleSpaces">
  8079.                             <xsl:with-param name="field">
  8080.                                 <xsl:call-template name="formatNameOneItem">
  8081.                                     <xsl:with-param name="format" select="$what"/>
  8082.                                 </xsl:call-template>
  8083.                             </xsl:with-param>
  8084.                         </xsl:call-template>
  8085.                     </xsl:variable>                
  8086.                     <xsl:variable name="lastChar">
  8087.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  8088.                     </xsl:variable>
  8089.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  8090.                         <xsl:call-template name="templ_prop_Dot"/>
  8091.                     </xsl:if>
  8092.                 </xsl:if>
  8093.             </xsl:when>
  8094.             <xsl:otherwise>
  8095.                 <xsl:value-of select="substring($format, 1, 1)" />
  8096.                 <xsl:call-template name="StringFormatDate">
  8097.                     <xsl:with-param name="format" select="substring($format, 2)" />
  8098.                     <xsl:with-param name="day" select="$day"/>
  8099.                     <xsl:with-param name="month" select="$month"/>
  8100.                     <xsl:with-param name="year" select="$year"/>
  8101.                     <xsl:with-param name="withDot" select="$withDot" />
  8102.                 </xsl:call-template>
  8103.                 <xsl:if test="string-length($format)=1">
  8104.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  8105.                         <xsl:call-template name="templ_prop_Dot"/>
  8106.                     </xsl:if>
  8107.                 </xsl:if>
  8108.             </xsl:otherwise>
  8109.         </xsl:choose>
  8110.     </xsl:template>    
  8111.     
  8112.     <xsl:template name="getYear">
  8113.         <xsl:choose>
  8114.             <xsl:when test="string-length(b:Year)=0">
  8115.                 <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  8116.             </xsl:when>
  8117.             <xsl:otherwise>
  8118.                 <xsl:value-of select="b:Year"/>
  8119.             </xsl:otherwise>
  8120.         </xsl:choose>
  8121.     </xsl:template>
  8122.  
  8123.     <xsl:template name="formatDateCore">
  8124.         <xsl:param name="day"/>
  8125.         <xsl:param name="month"/>
  8126.         <xsl:param name="year"/>
  8127.         <xsl:param name="displayND"/>
  8128.         
  8129.         <xsl:param name="DMY"/>
  8130.         <xsl:param name="DM"/>
  8131.         <xsl:param name="MY"/>
  8132.         <xsl:param name="DY"/>
  8133.     
  8134.         <xsl:choose>
  8135.             <xsl:when test="string-length($year)=0">
  8136.                 <xsl:if test="$displayND = 'yes'">
  8137.                     <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  8138.                 </xsl:if>
  8139.             </xsl:when>
  8140.             <xsl:otherwise>
  8141.                 <xsl:call-template name="formatDateCorePrivate">
  8142.                     <xsl:with-param name="day" select="$day"/>
  8143.                     <xsl:with-param name="month" select="$month"/>
  8144.                     <xsl:with-param name="year" select="$year"/>
  8145.                     
  8146.                     <xsl:with-param name="DMY" select="$DMY"/>
  8147.                     <xsl:with-param name="DM" select="$DM"/>
  8148.                     <xsl:with-param name="MY" select="$MY"/>
  8149.                     <xsl:with-param name="DY" select="$DY"/>
  8150.                 </xsl:call-template>
  8151.             </xsl:otherwise>
  8152.         </xsl:choose>
  8153.     
  8154.     </xsl:template>
  8155.     
  8156.     <xsl:template name="formatNameOneItem">
  8157.         <xsl:param name="format"/>
  8158.  
  8159.         <xsl:choose>
  8160.             <xsl:when test="$format = 'F'">
  8161.                 <xsl:value-of select="b:First"/>
  8162.             </xsl:when>
  8163.             <xsl:when test="$format = 'L'">
  8164.                 <xsl:value-of select="b:Last"/>
  8165.             </xsl:when>
  8166.             <xsl:when test="$format = 'M'">
  8167.                 <xsl:value-of select="b:Middle"/>
  8168.             </xsl:when>
  8169.             <xsl:when test="$format = 'f'">
  8170.                 <xsl:call-template name="formatNameInitial">
  8171.                     <xsl:with-param name="name" select="b:First"/>
  8172.                 </xsl:call-template>
  8173.             </xsl:when>
  8174.             <xsl:when test="$format = 'm'">
  8175.                 <xsl:call-template name="formatNameInitial">
  8176.                     <xsl:with-param name="name" select="b:Middle"/>
  8177.                 </xsl:call-template>
  8178.             </xsl:when>
  8179.             <xsl:when test="$format = 'l'">
  8180.                 <xsl:call-template name="formatNameInitial">
  8181.                     <xsl:with-param name="name" select="b:Last"/>
  8182.                 </xsl:call-template>
  8183.             </xsl:when>
  8184.         </xsl:choose>
  8185.  
  8186.     </xsl:template>
  8187.     
  8188.     <xsl:template name="formatNameInitial">
  8189.         <xsl:param name="name"/>
  8190.         <xsl:variable name="temp">
  8191.             <xsl:call-template name="handleSpaces">
  8192.                 <xsl:with-param name="field" select="$name"/>
  8193.             </xsl:call-template>
  8194.         </xsl:variable>
  8195.     <xsl:variable name="prop_APA_Hyphens">
  8196.       <xsl:call-template name="templ_prop_Hyphens"/>
  8197.     </xsl:variable>
  8198.  
  8199.     <xsl:if test="string-length($temp)>0">
  8200.  
  8201.             <xsl:variable name="tempWithoutSpaces">
  8202.                 <xsl:value-of select="translate($temp, '  ', '')"/>
  8203.             </xsl:variable>
  8204.  
  8205.             <xsl:if test="not(contains($prop_APA_Hyphens, substring($tempWithoutSpaces, 1, 1)))">
  8206.                 <xsl:value-of select="substring($tempWithoutSpaces, 1, 1)"/>
  8207.                 <xsl:call-template name="templ_prop_DotInitial"/>
  8208.             </xsl:if>
  8209.  
  8210.             <xsl:call-template name="handleHyphens">
  8211.                 <xsl:with-param name="name" select="$tempWithoutSpaces"/>
  8212.             </xsl:call-template>
  8213.         </xsl:if>
  8214.     </xsl:template>
  8215.     
  8216.     <xsl:template name="handleHyphens">
  8217.         <xsl:param name="name"/>
  8218.  
  8219.     <xsl:variable name="prop_APA_Hyphens">
  8220.       <xsl:call-template name="templ_prop_Hyphens"/>
  8221.     </xsl:variable>
  8222.  
  8223.     <xsl:if test="string-length($name)>=2">
  8224.             <xsl:choose>
  8225.                 <xsl:when test="contains($prop_APA_Hyphens, substring($name, 1, 1))">
  8226.                     <xsl:value-of select="substring($name, 1, 2)"/>
  8227.                     <xsl:call-template name="templ_prop_DotInitial"/>
  8228.                     
  8229.                     <xsl:call-template name="handleHyphens">
  8230.                         <xsl:with-param name="name" select="substring($name, 3)"/>
  8231.                     </xsl:call-template>
  8232.                 </xsl:when>
  8233.                 
  8234.                 <xsl:otherwise>
  8235.                     <xsl:call-template name="handleHyphens">
  8236.                         <xsl:with-param name="name" select="substring($name, 2)"/>
  8237.                     </xsl:call-template>
  8238.                 </xsl:otherwise>
  8239.             </xsl:choose>
  8240.             
  8241.         </xsl:if>
  8242.  
  8243.     </xsl:template>
  8244.     
  8245.     
  8246. </xsl:stylesheet>
  8247.